1
0
Ответвление 0
tt-rss/schema/versions/mysql/93.sql
2012-08-13 14:47:54 +04:00

10 строки
302 Б
PL/PgSQL

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;