-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use matching current timestamp precision on AR 7.0+
Starting from Active Record 7.0, the precision of timestamp columns defaults to 6, where it was previously undefined. MySQL requires that the precision of the CURRENT_TIMESTAMP default value matches the column type precision, otherwise it throws errors. So, we make that change. Fixes #159
- Loading branch information
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters