Open marcelloh opened 7 years ago
It would be nice if migrate() creates new column in order of appearance in the entity
in Mysql you can do ALTER TABLE MyTable CHANGE columnx columnx VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL BEFORE columny;
columnx
columny
That makes the database more readable
IIRC ALTER TABLE ... BEFORE and ALTER TABLE ... AFTER is MySQL only feature. Nice to have feature but it probably adds unneeded complexity.
ALTER TABLE ... BEFORE
ALTER TABLE ... AFTER
It would be nice if migrate() creates new column in order of appearance in the entity
in Mysql you can do ALTER TABLE MyTable CHANGE
columnx
columnx
VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL BEFOREcolumny
;That makes the database more readable