tt-rss/schema/upgrade-1.0.7-1.0.8-pgsql.sql
2005-11-16 08:24:43 +01:00

12 lines
300 B
PL/PgSQL

begin;
alter table ttrss_feeds add column purge_interval integer;
update ttrss_feeds set purge_interval = 0;
alter table ttrss_feeds alter column purge_interval set not null;
alter table ttrss_feeds alter column purge_interval set default 0;
update ttrss_version set schema_version = 2;
commit;