From c218ceb82c23fc37179c792a6c67af5114f0d079 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 26 Jan 2009 10:44:27 +0100 Subject: [PATCH] fix mysql schema (2) --- schema/versions/mysql/53.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schema/versions/mysql/53.sql b/schema/versions/mysql/53.sql index 345d968c6..3db0cbd81 100644 --- a/schema/versions/mysql/53.sql +++ b/schema/versions/mysql/53.sql @@ -1,11 +1,11 @@ alter table ttrss_labels2 add column fg_color varchar(15); 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) set default ''; +alter table ttrss_labels2 alter column fg_color set default ''; alter table ttrss_labels2 add column bg_color varchar(15); update ttrss_labels2 set bg_color = ''; alter table ttrss_labels2 change bg_color bg_color varchar(15) not null; -alter table ttrss_labels2 change fg_color bg_color varchar(15) set default ''; +alter table ttrss_labels2 alter column bg_color set default ''; update ttrss_version set schema_version = 53;