Skip to content

Conversation

@rmallah
Copy link
Contributor

@rmallah rmallah commented May 29, 2023

currently read_schema returns the default values of db in verbatim even if they are function calls. This causes attempts to insert the function call body as defaults in columns instead of the the value, which does not makes sense. The current fix returns undef for such column defaults. Additionally as a measure of caution it does not do the above in case the default has been handled in fix_default mapping.

…on#124

currently read_schema returns the default values of db in verbatim
even if they are function calls. This causes attempts to insert
the function call body as defaults in columns instead of the
the value, which does not makes sense. The current fix returns undef
for such column defaults. Additionally as a measure of caution it
does not do the above in case the default has been handled in
fix_default mapping.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants