agriget/schema/versions/pgsql/132.sql
2019-03-22 10:17:29 -04:00

11 lines
295 B
PL/PgSQL

begin;
alter table ttrss_feeds add column last_modified text;
update ttrss_feeds set last_modified = '';
alter table ttrss_feeds alter column last_modified set not null;
alter table ttrss_feeds alter column last_modified set default '';
UPDATE ttrss_version SET schema_version = 132;
commit;