diff --git a/src/Phinx/Db/Adapter/MysqlAdapter.php b/src/Phinx/Db/Adapter/MysqlAdapter.php index a180c7c68..fa89cd6a6 100644 --- a/src/Phinx/Db/Adapter/MysqlAdapter.php +++ b/src/Phinx/Db/Adapter/MysqlAdapter.php @@ -213,6 +213,7 @@ public function createTable(Table $table) $column = new Column(); $column->setName('id') ->setType('integer') + ->setSigned(isset($options['signed']) ? $options['signed'] : false) ->setIdentity(true); array_unshift($columns, $column);