pg-schema-diff
pg-schema-diff copied to clipboard
Handle columns who use functions as defaults
Description
Detect and add as dependency functions that can be used as default.
I'm really not sure I'm not missing some locations where I should process the new DependsOnFunctions field, but it's working for my case ;)
Motivation
See #191 for the base case issue, where default value use functions ;)
Testing
Tested locally, tests yet to be added :)
Hi @bplunkett-stripe
Just a gentle reminder about this PR, when you have a moment, could you please take a quick look?
Thanks a lot!
@bplunkett-stripe is there anything preventing this from ending up in the tool? Not being able to modify columns that use functions as defaults is a fairly big limitations (at least in my use cases).
@bplunkett-stripe is there anything preventing this from ending up in the tool? Not being able to modify columns that use functions as defaults is a fairly big limitations (at least in my use cases).
I'll prioritize getting this merged in.