mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-07-06 13:30:51 +02:00
11 lines
302 B
MySQL
11 lines
302 B
MySQL
|
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;
|