diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-12 01:48:24 -0800 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-12 01:48:24 -0800 |
commit | 05d6dd487ceaf8c00510ebe5e0e762fcc11df691 (patch) | |
tree | ebe6a344aa054a37c1c2d2e54efc59a67930e873 /install/postgres.sql | |
parent | d460914f65254d201911a8346792d680218c8dc3 (diff) | |
parent | 6bf4702608e4f32d66a9840ec93461f653315a76 (diff) | |
download | wallabag-05d6dd487ceaf8c00510ebe5e0e762fcc11df691.tar.gz wallabag-05d6dd487ceaf8c00510ebe5e0e762fcc11df691.tar.zst wallabag-05d6dd487ceaf8c00510ebe5e0e762fcc11df691.zip |
Merge pull request #356 from inthepoche/tags
Tags feature
Diffstat (limited to 'install/postgres.sql')
-rw-r--r-- | install/postgres.sql | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/install/postgres.sql b/install/postgres.sql index 9e0e8276..fe8f559c 100644 --- a/install/postgres.sql +++ b/install/postgres.sql | |||
@@ -27,4 +27,15 @@ CREATE TABLE users_config ( | |||
27 | user_id integer NOT NULL, | 27 | user_id integer NOT NULL, |
28 | name varchar(255) NOT NULL, | 28 | name varchar(255) NOT NULL, |
29 | value varchar(255) NOT NULL | 29 | value varchar(255) NOT NULL |
30 | ); \ No newline at end of file | 30 | ); |
31 | |||
32 | CREATE TABLE tags ( | ||
33 | id bigserial primary key, | ||
34 | value varchar(255) NOT NULL | ||
35 | ); | ||
36 | |||
37 | CREATE TABLE tags_entries ( | ||
38 | id bigserial primary key, | ||
39 | entry_id integer NOT NULL, | ||
40 | tag_id integer NOT NULL | ||
41 | ) \ No newline at end of file | ||