summaryrefslogtreecommitdiff
path: root/schema/ttrss_schema_mysql.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-08-13 14:36:52 +0400
committerAndrew Dolgov <[email protected]>2012-08-13 14:47:54 +0400
commit9432bfa076738b47fce25c4a5a3293201bf21099 (patch)
treeadb059f51f9f0a36a55df25d9927da097e672efd /schema/ttrss_schema_mysql.sql
parent9765e8b9f1037541080aaeb24d6a99a14247a8b7 (diff)
add ttrss_feed_categories.parent_cat, bump schema
Diffstat (limited to 'schema/ttrss_schema_mysql.sql')
-rw-r--r--schema/ttrss_schema_mysql.sql5
1 files changed, 4 insertions, 1 deletions
diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql
index 5e6ca6096..3f63d44ee 100644
--- a/schema/ttrss_schema_mysql.sql
+++ b/schema/ttrss_schema_mysql.sql
@@ -57,6 +57,9 @@ create table ttrss_feed_categories(id integer not null primary key auto_incremen
title varchar(200) not null,
collapsed bool not null default false,
order_id integer not null default 0,
+ parent_cat integer,
+ index(parent_cat),
+ foreign key (parent_cat) references ttrss_feed_categories(id) ON DELETE SET NULL,
index(owner_uid),
foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
@@ -267,7 +270,7 @@ create table ttrss_tags (id integer primary key auto_increment,
create table ttrss_version (schema_version int not null) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
-insert into ttrss_version values (92);
+insert into ttrss_version values (93);
create table ttrss_enclosures (id integer primary key auto_increment,
content_url text not null,