-
Notifications
You must be signed in to change notification settings - Fork 29
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
fix: allow functions to be default values #252
Conversation
cb59754
to
875fc04
Compare
On GitHub Actions, the right parenthesis of
|
Because newer Spanner emulators have a bug aroud information schema. They cannot return correct values for COLUMN_DEFAULT. spanner> SELECT COLUMN_NAME, COLUMN_DEFAULT FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME="dynamic_items"; +---------------+--------------------+ | COLUMN_NAME | COLUMN_DEFAULT | +---------------+--------------------+ | id | NULL | | col_timestamp | CURRENT_TIMESTAMP( | +---------------+--------------------+ 2 rows in set (2.079298ms)
024e00c
to
37bbdeb
Compare
It was a bug of emulator v1.5.1 and newer. |
@nownabe Thanks for this change. LGTM. I've reverted the tests to using the latest version of the emulator, as it appears that the bug that you discovered has been fixed. |
The current build error appears to be caused by ActiveRecord 7.0.5, which contains a change in |
Fix #247