salix/db/versions/.archive/10238-azureMastic/00-worker_mobileExtension.sql

7 lines
297 B
MySQL
Raw Permalink Normal View History

ALTER TABLE vn.worker ADD mobileExtension INT(4) NULL;
ALTER TABLE vn.worker CHANGE mobileExtension mobileExtension int(4) DEFAULT NULL NULL AFTER phone;
ALTER TABLE vn.worker MODIFY COLUMN phone varchar(9) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL;
UPDATE vn.worker
SET phone = NULL;