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
Hi.
I'm using PHP MySQL Diff 1.2.1 (installed from composer). I give the command these two schemas.
from.schema
CREATE TABLE post ( post_date date NOT NULL COMMENT 'Created At' );
post
post_date
to.schema
CREATE TABLE post ( post_date date NOT NULL COMMENT 'Created' );
It returns:
ALTER TABLE post CHANGE COLUMN post_date post_date date NOT NULL COMMENT 'Created' FIRST;
but MySQL(Server version: 5.7.17) says:
#1138 - Invalid use of NULL value
Without 'FIRST', it worked.
ALTER TABLE post CHANGE COLUMN post_date post_date date NOT NULL COMMENT 'Created';
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi.
I'm using PHP MySQL Diff 1.2.1 (installed from composer).
I give the command these two schemas.
from.schema
to.schema
It returns:
but MySQL(Server version: 5.7.17) says:
Without 'FIRST', it worked.
The text was updated successfully, but these errors were encountered: