blob: ab0196934a6ea0da82c85ad42ec0959f3c2a9c75 (
plain)
1
2
3
4
5
6
7
8
9
|
BEGIN;
ALTER TABLE prims change SceneGroupID SceneGroupIDold varchar(255);
ALTER TABLE prims add SceneGroupID char(36);
UPDATE prims set SceneGroupID = SceneGroupIDold;
ALTER TABLE prims drop SceneGroupIDold;
ALTER TABLE prims add index prims_scenegroupid(SceneGroupID);
COMMIT;
|