fix mysql schema

This commit is contained in:
Andrew Dolgov 2009-01-26 10:42:44 +01:00
parent aec57d7ad4
commit 6fd39d8f98
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
alter table ttrss_labels2 add column fg_color varchar(15); alter table ttrss_labels2 add column fg_color varchar(15);
update ttrss_labels2 set fg_color = ''; update ttrss_labels2 set fg_color = '';
alter table ttrss_labels2 change fg_color fg_color varchar(15) not null; alter table ttrss_labels2 change fg_color fg_color varchar(15) not null;
alter table ttrss_labels2 change fg_color fg_color varchar(15) not default ''; alter table ttrss_labels2 change fg_color fg_color varchar(15) set default '';
alter table ttrss_labels2 add column bg_color varchar(15); alter table ttrss_labels2 add column bg_color varchar(15);
update ttrss_labels2 set bg_color = ''; update ttrss_labels2 set bg_color = '';
alter table ttrss_labels2 change bg_color bg_color varchar(15) not null; alter table ttrss_labels2 change bg_color bg_color varchar(15) not null;
alter table ttrss_labels2 change fg_color bg_color varchar(15) not default ''; alter table ttrss_labels2 change fg_color bg_color varchar(15) set default '';
update ttrss_version set schema_version = 53; update ttrss_version set schema_version = 53;