We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a (multiple allowed):
bug
enhancement
feature-discussion (RFC)
CakePHP Version: 4.2.7
Migrations plugin version: 3.1.0
Database server (MySQL, SQLite, Postgres): MySQL 5.6
PHP Version: 7.4
Platform / OS: Docker container php:7.4-fpm
Execute bin/cake bake migration_snapshot Initial against a database with DECIMAL (11, 0) field.
bin/cake bake migration_snapshot Initial
DECIMAL (11, 0)
->addColumn('price', 'decimal', [ 'default' => null, 'precision' => 11, 'scale' => 0, 'null' => false, ])
->addColumn('price', 'decimal', [ 'default' => null, 'limit' => 11, 'null' => false, ])
#310 #168
The text was updated successfully, but these errors were encountered:
Fixes cakephp#500 . If precision is 0 command adds it anyway.
5d8a7dd
Merge pull request #562 from CakeDC/issue/500-decimal-no-precision
8ba15cc
Fixes #500 . If precision is 0 command adds it anyway.
Successfully merging a pull request may close this issue.
This is a (multiple allowed):
bug
enhancement
feature-discussion (RFC)
CakePHP Version: 4.2.7
Migrations plugin version: 3.1.0
Database server (MySQL, SQLite, Postgres): MySQL 5.6
PHP Version: 7.4
Platform / OS: Docker container php:7.4-fpm
What you did
Execute
bin/cake bake migration_snapshot Initial
against a database withDECIMAL (11, 0)
field.Expected Behavior
Actual Behavior
Related
#310
#168
The text was updated successfully, but these errors were encountered: