Closed AlexanderSchaller closed 3 months ago
Using phinx version 0.16.0. Using the mysql adapter.
0.16.0
Code example:
$table = $this->table('trades'); $table ->renameColumn('uid_a', 'initiatorUserId') ->update();
The resulting SQL command is:
ALTER TABLE `trades` CHANGE COLUMN `uid_a` `initiatorUserId` int NOT NULLAUTO_INCREMENT COMMENT ''
With the issue of course being (lack of space between NULL and AUTO_INCREMENT)
NOT NULLAUTO_INCREMENT
Using phinx version
0.16.0
. Using the mysql adapter.Code example:
The resulting SQL command is:
With the issue of course being (lack of space between NULL and AUTO_INCREMENT)