mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-28 22:29:06 +01:00
5 lines
238 B
SQL
5 lines
238 B
SQL
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;
|