Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gp git:(sprint012) cd payroll && mvn -P "$ENV_PROFILE,ddlConfDemo" flyway:migrate ; cd ..;
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building payroll 0.0.8-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- flyway-maven-plugin:4.0.3:migrate (default-cli) @ payroll ---
- [INFO] Flyway 4.0.3 by Boxfuse
- [INFO] Database: jdbc:postgresql://db.int.globepayroll.com:5432/SDB (PostgreSQL 9.4)
- [INFO] Successfully validated 18 migrations (execution time 00:01.193s)
- [INFO] Executing SQL callback: beforeMigrate
- [INFO] Current version of schema "public": 0.0.8.1
- [INFO] Migrating schema "public" to version 0.0.8.2 - PayEvent01
- [ERROR] Migration of schema "public" to version 0.0.8.2 - PayEvent01 failed! Changes successfully rolled back.
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 9.614 s
- [INFO] Finished at: 2016-09-09T14:31:03+02:00
- [INFO] Final Memory: 26M/1237M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.flywaydb:flyway-maven-plugin:4.0.3:migrate (default-cli) on project payroll: org.flywaydb.core.internal.dbsupport.FlywaySqlScriptException:
- [ERROR] Migration V0.0.8.2__PayEvent01.sql failed
- [ERROR] -----------------------------------------
- [ERROR] SQL State : 42P01
- [ERROR] Error Code : 0
- [ERROR] Message : ERROR: relation "pay_event" does not exist
- [ERROR] Location : src/main/resources/db/migration/V0.0.8.2__PayEvent01.sql (/Users/jerome/repos/gp/payroll/src/main/resources/db/migration/V0.0.8.2__PayEvent01.sql)
- [ERROR] Line : 2
- [ERROR] Statement : ALTER Table pay_event ALTER COLUMN threshold TYPE numeric(31,10)
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement