ttrss/schema/upgrade-1.1.3-1.1.4-pgsql.sql

13 lines
283 B
PL/PgSQL

begin;
alter table ttrss_entries add column author varchar(250);
update ttrss_entries set author = '';
alter table ttrss_entries alter column author set not null;
alter table ttrss_entries alter column author set default '';
update ttrss_version set schema_version = 6;
commit;