1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-26 04:31:29 +00:00

schema: add ttrss_labels2 color fields (bump schema)

This commit is contained in:
Andrew Dolgov
2009-01-26 10:41:16 +01:00
parent 56ff756447
commit aec57d7ad4
5 changed files with 33 additions and 3 deletions

View File

@@ -0,0 +1,15 @@
begin;
alter table ttrss_labels2 add column fg_color varchar(15);
update ttrss_labels2 set fg_color = '';
alter table ttrss_labels2 alter column fg_color set not null;
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 alter column bg_color set not null;
alter table ttrss_labels2 alter column bg_color set default '';
update ttrss_version set schema_version = 53;
commit;