1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-02 16:29:15 +00:00

implement archived articles feed; bump schema

This commit is contained in:
Andrew Dolgov
2009-12-28 17:23:01 +03:00
parent 15ea06910c
commit e04c18a2c2
8 changed files with 281 additions and 42 deletions

View File

@@ -0,0 +1,12 @@
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;