add author column to ttrss_entries, add upgrade script for 1.1.4, bump schema version
parent
63147705ab
commit
4bc760da51
@ -0,0 +1,9 @@
|
||||
alter table ttrss_entries add column author varchar(250);
|
||||
|
||||
update ttrss_entries set author = ;;;
|
||||
|
||||
alter table ttrss_entries change author author varchar(250) not null;
|
||||
alter table ttrss_entries alter column author set default '';
|
||||
|
||||
update ttrss_version set schema_version = 6;
|
||||
|
@ -0,0 +1,12 @@
|
||||
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;
|
Loading…
Reference in New Issue