-
Notifications
You must be signed in to change notification settings - Fork 26
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
_split_sql_chunk doesn't handle CREATE FUNCTION in Pg #26
Comments
This should be solved by #11. If you find the time to fix that, that would solve this and so many other issues. |
Closing as per @frioux's comment -- in mean time I've worked around with a wrapped around DBIC::Migration at https://github.com/mysociety/fixmystreet/blob/db-migrations/bin/migrate#L10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting an error while trying to move this SQL to a DBIC::Migration
As far as I can tell, the problem seems to be
_split_sql_chunk
inDBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm
which chunks by ";" (which are present within the body of the function.)Presumably this should instead be using something like Text::Balanced?
The text was updated successfully, but these errors were encountered: