diff options
Diffstat (limited to 'core/Command/Db/Migrations/GenerateFromSchemaFileCommand.php')
-rw-r--r-- | core/Command/Db/Migrations/GenerateFromSchemaFileCommand.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Command/Db/Migrations/GenerateFromSchemaFileCommand.php b/core/Command/Db/Migrations/GenerateFromSchemaFileCommand.php index 54a4d95738e..4f888b38a14 100644 --- a/core/Command/Db/Migrations/GenerateFromSchemaFileCommand.php +++ b/core/Command/Db/Migrations/GenerateFromSchemaFileCommand.php @@ -139,6 +139,13 @@ EOT EOT ); } + if ($column->getUnsigned()) { + $content .= <<<'EOT' + 'unsigned' => true, + +EOT; + } + $content .= <<<'EOT' ]); |