-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add precision assignment back to timestamps method
This code block was removed in a previous PR, but it had a side effect of causing certian timestamp fields to be changed from `datetime(6)` to `datetime` when performing a schema migration in the 6.1 version of the migration class. This is due to `options[:precision]` being set to `nil` and therefore not being set to the default of 6 later on in the code path.
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 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