1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-11 17:51:02 +00:00

[add] tags and tags_entries for mysql & postgresql

This commit is contained in:
Nicolas Lœuillet 2013-12-06 15:16:02 +01:00
parent f014856424
commit 6bf4702608
2 changed files with 27 additions and 1 deletions

View file

@ -27,4 +27,15 @@ CREATE TABLE users_config (
user_id integer NOT NULL,
name varchar(255) NOT NULL,
value varchar(255) NOT NULL
);
);
CREATE TABLE tags (
id bigserial primary key,
value varchar(255) NOT NULL
);
CREATE TABLE tags_entries (
id bigserial primary key,
entry_id integer NOT NULL,
tag_id integer NOT NULL
)