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/pgsql/60.sql

13 lines
373 B
MySQL

begin;
alter table ttrss_user_entries alter column feed_id drop not 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 "$4" FOREIGN KEY (orig_feed_id) REFERENCES ttrss_feeds(id) ON DELETE SET NULL;
update ttrss_version set schema_version = 60;
commit;