You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tt-rss/schema/versions/mysql/60.sql

13 lines
369 B
MySQL

begin;
alter table ttrss_user_entries change feed_id feed_id integer null;
alter table ttrss_user_entries add column orig_feed_id integer;
update ttrss_user_entries set orig_feed_id = NULL;
alter table ttrss_user_entries add constraint FOREIGN KEY (orig_feed_id) REFERENCES ttrss_feeds(id) ON DELETE SET NULL;
update ttrss_version set schema_version = 60;
commit;