Add option to get one ALTER statement for each db change
Currently I have "nested" statements like the following and if one column add fails the rest of the query additional fails!
ALTER TABLE cmsgewaehltemodule
CHANGE COLUMN parentid parentid INT(10) NOT NULL DEFAULT 0 AFTER id,
CHANGE COLUMN seitenid seitenid INT(10) NOT NULL DEFAULT 0 AFTER parenteintragid,
CHANGE COLUMN systemmodus systemmodus ENUM('live','staging') NOT NULL DEFAULT 'live';
1
vote
Anonymous
shared this idea