mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-30 15:19:05 +01:00
5 lines
238 B
MySQL
5 lines
238 B
MySQL
|
ALTER TABLE configuration ADD COLUMN value_new varchar(255);
|
||
|
INSERT INTO configuration (value_new) SELECT value FROM configuration;
|
||
|
ALTER TABLE configuration DROP COLUMN value;
|
||
|
ALTER TABLE configuration RENAME COLUMN value_new TO value;
|