mirror of
https://github.com/sismics/docs.git
synced 2025-12-13 17:56:20 +00:00
Add default value for new column
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
alter table T_TAG add column TAG_COLOR_C varchar(7) not null;
|
||||
update T_TAG set TAG_COLOR_C = '#3a87ad';
|
||||
alter table T_TAG add column TAG_COLOR_C varchar(7) default '#3a87ad' not null;
|
||||
update T_CONFIG set CFG_VALUE_C='2' where CFG_ID_C='DB_VERSION';
|
||||
|
||||
Reference in New Issue
Block a user