archived feeds: expire old entries (schema bump)
parent
26c226c8e4
commit
38e01270d8
@ -0,0 +1,9 @@
|
|||||||
|
begin;
|
||||||
|
|
||||||
|
alter table ttrss_archived_feeds add column created datetime;
|
||||||
|
update ttrss_version set schema_version = 136;
|
||||||
|
alter table ttrss_archived_feeds alter column created set not null;
|
||||||
|
|
||||||
|
update ttrss_archived_feeds set created = NOW();
|
||||||
|
|
||||||
|
commit;
|
@ -0,0 +1,9 @@
|
|||||||
|
begin;
|
||||||
|
|
||||||
|
alter table ttrss_archived_feeds add column created timestamp;
|
||||||
|
update ttrss_archived_feeds set created = NOW();
|
||||||
|
alter table ttrss_archived_feeds alter column created set not null;
|
||||||
|
|
||||||
|
update ttrss_version set schema_version = 136;
|
||||||
|
|
||||||
|
commit;
|
Loading…
Reference in New Issue