Advertisement
Guest User

Untitled

a guest
Sep 9th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. gp git:(sprint012) cd payroll && mvn -P "$ENV_PROFILE,ddlConfDemo" flyway:migrate ; cd ..;
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] ------------------------------------------------------------------------
  5. [INFO] Building payroll 0.0.8-SNAPSHOT
  6. [INFO] ------------------------------------------------------------------------
  7. [INFO]
  8. [INFO] --- flyway-maven-plugin:4.0.3:migrate (default-cli) @ payroll ---
  9. [INFO] Flyway 4.0.3 by Boxfuse
  10. [INFO] Database: jdbc:postgresql://db.int.globepayroll.com:5432/SDB (PostgreSQL 9.4)
  11. [INFO] Successfully validated 18 migrations (execution time 00:01.193s)
  12. [INFO] Executing SQL callback: beforeMigrate
  13. [INFO] Current version of schema "public": 0.0.8.1
  14. [INFO] Migrating schema "public" to version 0.0.8.2 - PayEvent01
  15. [ERROR] Migration of schema "public" to version 0.0.8.2 - PayEvent01 failed! Changes successfully rolled back.
  16. [INFO] ------------------------------------------------------------------------
  17. [INFO] BUILD FAILURE
  18. [INFO] ------------------------------------------------------------------------
  19. [INFO] Total time: 9.614 s
  20. [INFO] Finished at: 2016-09-09T14:31:03+02:00
  21. [INFO] Final Memory: 26M/1237M
  22. [INFO] ------------------------------------------------------------------------
  23. [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:
  24. [ERROR] Migration V0.0.8.2__PayEvent01.sql failed
  25. [ERROR] -----------------------------------------
  26. [ERROR] SQL State : 42P01
  27. [ERROR] Error Code : 0
  28. [ERROR] Message : ERROR: relation "pay_event" does not exist
  29. [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)
  30. [ERROR] Line : 2
  31. [ERROR] Statement : ALTER Table pay_event ALTER COLUMN threshold TYPE numeric(31,10)
  32. [ERROR] -> [Help 1]
  33. [ERROR]
  34. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  35. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  36. [ERROR]
  37. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  38. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement