1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 18:11:29 +00:00

add ttrss_feed_categories.parent_cat, bump schema

This commit is contained in:
Andrew Dolgov
2012-08-13 14:36:52 +04:00
parent 9765e8b9f1
commit 9432bfa076
4 changed files with 26 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
begin;
alter table ttrss_feed_categories add column parent_cat integer;
update ttrss_feed_categories set parent_cat = NULL;
alter table ttrss_feed_categories add FOREIGN KEY (parent_cat) REFERENCES ttrss_feed_categories(id) ON DELETE SET NULL;
update ttrss_version set schema_version = 93;
commit;