Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gshevkedov@gunesh-PC /cygdrive/d/musicautor/server/db
- $ mvn -Dflyway.outOfOrder=true flyway:migrate
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Database Module 0.26.1
- [INFO] ------------------------------------------------------------------------
- Downloading: https://nexus.sirmaplatform.com/repository/maven-public/org/mockito/mockito-all/maven-metadata.xml
- Downloaded: https://nexus.sirmaplatform.com/repository/maven-public/org/mockito/mockito-all/maven-metadata.xml (2 KB at 2.8 KB/sec)
- [INFO]
- [INFO] --- flyway-maven-plugin:4.2.0:migrate (default-cli) @ db ---
- [INFO] Flyway 4.2.0 by Boxfuse
- [INFO] Database: jdbc:postgresql://localhost/musicautor (PostgreSQL 9.5)
- [INFO] Database: jdbc:postgresql://localhost/musicautor (PostgreSQL 9.5)
- [INFO] Successfully validated 39 migrations (execution time 00:00.212s)
- [INFO] Current version of schema "public": 2.937
- [WARNING] outOfOrder mode is active. Migration of schema "public" may not be reproducible.
- [INFO] Migrating schema "public" to version 2.930.2 - added info source type and distrib status [out of order]
- [ERROR] Migration of schema "public" to version 2.930.2 - added info source type and distrib status [out of order] failed! Changes successfully rolled back.
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 4.631 s
- [INFO] Finished at: 2018-05-04T13:37:01+03:00
- [INFO] Final Memory: 15M/310M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.flywaydb:flyway-maven-plugin:4.2.0:migrate (default-cli) on project db: org.flywaydb.core.internal.command.DbMigrate$FlywayMigrateSqlException:
- [ERROR] Migration V2.930.2__added_info_source_type_and_distrib_status.sql failed
- [ERROR] ------------------------------------------------------------------------
- [ERROR] SQL State : 42P01
- [ERROR] Error Code : 0
- [ERROR] Message : ERROR: relation "taxonomy_type" does not exist
- [ERROR] Location : D:/musicautor/server/db/src/main/resources/db/migration/V2.930.2__added_info_source_type_and_distrib_status.sql (D:\musicautor\server\db\src\main\resources\db\migration\V2.930.2__added_info_source_type_and_distrib_status.sql)
- [ERROR] Line : 74
- [ERROR] Statement : COPY taxonomy_type (type, description, read_only, autogenerate) FROM stdin;
- [ERROR] musicautor.author_share_info_source Източник на данни за дялове на автори/издатели t f
- [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