forked from mystiq/dex
6 lines
182 B
MySQL
6 lines
182 B
MySQL
|
-- +migrate Up
|
||
|
ALTER TABLE key ADD COLUMN tmp_value bytea;
|
||
|
UPDATE KEY SET tmp_value = value;
|
||
|
ALTER TABLE key DROP COLUMN value;
|
||
|
ALTER TABLE key RENAME COLUMN "tmp_value" to "value";
|