Next when I run command:
vendor/bin/phalcon migration run --verbose
I have error:
ALTER TABLE test MODIFY price DOUBLE(1) NOT NULL AFTER idERROR: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NOT NULL AFTER id' at line 1
If I have table "test" with field type of "DOUBLE" and run command: vendor/bin/phalcon migration generate --table=test then is generate such file:
where size = 1
Next when I run command: vendor/bin/phalcon migration run --verbose I have error: ALTER TABLE
test
MODIFYprice
DOUBLE(1) NOT NULL AFTERid
ERROR: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NOT NULL AFTERid
' at line 1Details