summaryrefslogtreecommitdiff
path: root/schema/ttrss_schema_mysql.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-09-09 05:52:36 +0100
committerAndrew Dolgov <[email protected]>2005-09-09 05:52:36 +0100
commiteb36b4eb5526fca5ea05b635d828e290687b4ea3 (patch)
tree413bbd74158060d33d9a4f954a5594e073e892ad /schema/ttrss_schema_mysql.sql
parente9e4c6e23a55bc6633293da4a25ea979e8080140 (diff)
start work on support for technorati tags, schema uses cascade deletes for pgsql
Diffstat (limited to 'schema/ttrss_schema_mysql.sql')
-rw-r--r--schema/ttrss_schema_mysql.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql
index ae736cb6f..877421920 100644
--- a/schema/ttrss_schema_mysql.sql
+++ b/schema/ttrss_schema_mysql.sql
@@ -1,3 +1,4 @@
+drop table if exists ttrss_tags;
drop table if exists ttrss_entries;
drop table if exists ttrss_feeds;
@@ -69,3 +70,7 @@ create table ttrss_labels (id integer primary key auto_increment,
insert into ttrss_labels (sql_exp,description) values ('unread = true',
'Unread articles');
+create table ttrss_tags (id integer primary key auto_increment,
+ tag_name varchar(250) not null,
+ post_id integer references ttrss_entries(id)) TYPE=InnoDB;
+