add upgrade files for schema #74
This commit is contained in:
parent
8cab2eb923
commit
c011b36b85
2 changed files with 18 additions and 0 deletions
9
schema/versions/mysql/74.sql
Normal file
9
schema/versions/mysql/74.sql
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
begin;
|
||||||
|
|
||||||
|
alter table ttrss_user_entries add column label_cache text;
|
||||||
|
update ttrss_user_entries set label_cache = '';
|
||||||
|
alter table ttrss_user_entries change label_cache label_cache text not null;
|
||||||
|
|
||||||
|
update ttrss_version set schema_version = 74;
|
||||||
|
|
||||||
|
commit;
|
9
schema/versions/pgsql/74.sql
Normal file
9
schema/versions/pgsql/74.sql
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
begin;
|
||||||
|
|
||||||
|
alter table ttrss_user_entries add column label_cache text;
|
||||||
|
update ttrss_user_entries set label_cache = '';
|
||||||
|
alter table ttrss_user_entries alter column label_cache set not null;
|
||||||
|
|
||||||
|
update ttrss_version set schema_version = 74;
|
||||||
|
|
||||||
|
commit;
|
Loading…
Reference in a new issue