Closed hyhnet closed 4 years ago
It's been a while ... how would you represent ON UPDATE CURRENT_TIMESTAMP
in Laravel's Schema?
Actually, it looks like if you drop the ->nullable()
for that column, running the migration should give you the correct ON UPDATE
. This is a MySQL thing, not a Laravel thing.
That said, I'll see if I can fix the package to handle this correctly.
@hyhnet Can you give version 1.7.0 a try?
Closing due to no response. Feel free to re-open or comment if you are still having issues.
Hi there,
First, thanks for this awesome tool!
lost ON UPDATE CURRENT_TIMESTAMP
For example:
... generates this migration ...
I'm using bundle version 1.6.0 with Sequel Pro 1.1.2 version 4541 (602e11a) on Mysql 5.7.28 (Docker 19.03.5).
Thank you!