-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
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
Run migration for fields type of date and datetime #22
Comments
Jeckerson
added a commit
that referenced
this issue
Dec 13, 2019
Jeckerson
added a commit
that referenced
this issue
Dec 13, 2019
Jeckerson
added a commit
that referenced
this issue
Dec 13, 2019
Jeckerson
added a commit
that referenced
this issue
Dec 13, 2019
Jeckerson
added a commit
that referenced
this issue
Dec 13, 2019
Jeckerson
added a commit
that referenced
this issue
Dec 13, 2019
Jeckerson
added a commit
that referenced
this issue
Dec 14, 2019
#22 - Fix unnecessary table alter due DATE and DATETIME columns
This was referenced Dec 14, 2019
Fixed in 3.4.10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I have field name "create_date" of type "datetime" (or "date") and when I run command:
vendor/bin/phalcon migration run --verbose
I see that:
1576145901.8674: ALTER TABLE
test
MODIFYcreate_date
DATE NOT NULL AFTERname
=> 1576145901.89 (0.022550106048584)regardless of whether something has been changed or not
Finally if the table has a lot of records, execution time of SQL queries it is very long.
My database: MySQL 5.5
PHP version: 7.2
Phalcon version: 3.4.1
Phalcon phalcon-devtools version: 3.4.9
The text was updated successfully, but these errors were encountered: