add upgrade files for schema #74

This commit is contained in:
Andrew Dolgov 2010-11-10 19:12:49 +03:00
parent 8cab2eb923
commit c011b36b85
2 changed files with 18 additions and 0 deletions

View 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;

View 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;