Closed ccann closed 5 years ago
IT looks like the problem might be caused by this pr that ends up splitting statements by ;
. I'm thinking that I could either make that functionality opt-in or change it to another delimiter. @fl00r would you have any preference here?
that's why they invented lisps and lists :)
no preferences, but maybe you could change default separator and give us a possibility to change it via cli
OK, I pushed out 1.2.0
with a fix. The commands will no longer be split by default, however you can now provide the :command-separator
key in the config that should point to a string that will be used to split the statements.
I'll close this one for now, and if anything new comes up we can look at it.
Hello!
I recently copied a migration from one project to another and was surprised when it wouldn't run, so I compared my dependencies:
Project A:
Project B (migration doesn't work):
And here's the migration itself:
I swapped some deps around and noticed that this migration works with postgres 42.5.5 + migratus 1.0.6 -> migratus 1.0.9 I see the error:
starting with migratus 1.1.2 and up through 1.1.9. The other versions 1.1.0 + 1.1.1 wouldn't run my rollbacks for a seemingly separate issue.
Overriding the
org.clojure/java.jdbc
version and changing it around didn't seem to interact with the issue. Hopefully i'm not doing something silly, let me know if I can provide more info.I'm using v2.1.4 of the mac postgres app, but i'm seeing the same error in my CircleCI build environment too.