Skip to content
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

Sandbox migration scripts are broken #1682

Closed
da-tanabe opened this issue Jun 14, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@da-tanabe
Copy link
Contributor

commented Jun 14, 2019

Migrations fail with:

Caused by: org.flywaydb.core.api.FlywayException: Migration failed !
	at org.flywaydb.core.internal.resolver.java.JavaMigrationExecutor.execute(JavaMigrationExecutor.java:62)
	at org.flywaydb.core.internal.command.DbMigrate.doMigrateGroup(DbMigrate.java:367)
	... 43 common frames omitted
Caused by: java.lang.IllegalArgumentException: Expected parameter names don't correspond to placeholders in query: name, ledgerOffset not matching name, ledger_offset
	at anorm.BatchSql$.$anonfun$Checked$2(BatchSql.scala:177)
	at scala.Option.fold(Option.scala:175)
	at anorm.BatchSql$.Checked(BatchSql.scala:173)
	at anorm.BatchSql$.apply(BatchSql.scala:168)
	at db.migration.V4_1__Collect_Parties.$anonfun$updateParties$6(V4_1__Collect_Parties.scala:97)
	at scala.collection.Iterator.foreach(Iterator.scala:941)
	at scala.collection.Iterator.foreach$(Iterator.scala:941)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
	at db.migration.V4_1__Collect_Parties.updateParties(V4_1__Collect_Parties.scala:93)
	at db.migration.V4_1__Collect_Parties.migrate(V4_1__Collect_Parties.scala:33)
	at org.flywaydb.core.internal.resolver.java.JavaMigrationExecutor.execute(JavaMigrationExecutor.java:48)
	... 44 common frames omitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.