Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.15 KB | None | 0 0
  1. INFO 3/21/18 12:18 PM: liquibase: assemblyChangelog.xml: /opt/R1/share/n2o-liquibase/liquibase/db/changelog/201412051517_diagnosis_attribute2.xml::md_attr_value_data_4::rsadikov: Continuing past: /opt/R1/share/n2o-liquibase/liquibase/db/changelog/201412051517_diagnosis_attribute2.xml::md_attr_value_data_4::rsadikov despite precondition failure due to onFail='CONTINUE':
  2. assemblyChangelog.xml : Change Set 'db/changelog/201412051517_diagnosis_attribute2.xml::md_attr_pos_data_2::rsadikov' has not been run
  3.  
  4. SEVERE 3/21/18 12:18 PM: liquibase: assemblyChangelog.xml: /opt/R1/share/n2o-liquibase/liquibase/db/changelog/201510061353_create_mc_case_diet.xml::201510222124_v2::atitov: Change Set /opt/R1/share/n2o-liquibase/liquibase/db/changelog/201510061353_create_mc_case_diet.xml::201510222124_v2::atitov failed. Error: ERROR: insert or update on table "mc_case_diet" violates foreign key constraint "mc_case_id_fk"
  5. Detail: Key (case_id)=(59620) is not present in table "mc_case". [Failed SQL: ALTER TABLE public.mc_case_diet ADD CONSTRAINT mc_case_id_fk FOREIGN KEY (case_id) REFERENCES public.mc_case (id)]
  6. liquibase.exception.DatabaseException: ERROR: insert or update on table "mc_case_diet" violates foreign key constraint "mc_case_id_fk"
  7. Detail: Key (case_id)=(59620) is not present in table "mc_case". [Failed SQL: ALTER TABLE public.mc_case_diet ADD CONSTRAINT mc_case_id_fk FOREIGN KEY (case_id) REFERENCES public.mc_case (id)]
  8. at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:316)
  9. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
  10. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:122)
  11. at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1247)
  12. at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1230)
  13. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:548)
  14. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:51)
  15. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:73)
  16. at liquibase.Liquibase.update(Liquibase.java:210)
  17. at liquibase.Liquibase.update(Liquibase.java:190)
  18. at liquibase.integration.commandline.Main.doMigration(Main.java:1096)
  19. at liquibase.integration.commandline.Main.run(Main.java:180)
  20. at liquibase.integration.commandline.Main.main(Main.java:99)
  21. Caused by: org.postgresql.util.PSQLException: ERROR: insert or update on table "mc_case_diet" violates foreign key constraint "mc_case_id_fk"
  22. Detail: Key (case_id)=(59620) is not present in table "mc_case".
  23. at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
  24. at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2155)
  25. at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:288)
  26. at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)
  27. at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)
  28. at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:303)
  29. at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:289)
  30. at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:266)
  31. at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:262)
  32. at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:314)
  33. ... 12 more
  34. INFO 3/21/18 12:18 PM: liquibase: /opt/R1/share/n2o-liquibase/liquibase/db/changelog/201510061353_create_mc_case_diet.xml::201510222124_v2::atitov: Successfully released change log lock
  35. Unexpected error running Liquibase: ERROR: insert or update on table "mc_case_diet" violates foreign key constraint "mc_case_id_fk"
  36. Detail: Key (case_id)=(59620) is not present in table "mc_case". [Failed SQL: ALTER TABLE public.mc_case_diet ADD CONSTRAINT mc_case_id_fk FOREIGN KEY (case_id) REFERENCES public.mc_case (id)]
  37.  
  38. SEVERE 3/21/18 12:18 PM: liquibase: /opt/R1/share/n2o-liquibase/liquibase/db/changelog/201510061353_create_mc_case_diet.xml::201510222124_v2::atitov: ERROR: insert or update on table "mc_case_diet" violates foreign key constraint "mc_case_id_fk"
  39. Detail: Key (case_id)=(59620) is not present in table "mc_case". [Failed SQL: ALTER TABLE public.mc_case_diet ADD CONSTRAINT mc_case_id_fk FOREIGN KEY (case_id) REFERENCES public.mc_case (id)]
  40. liquibase.exception.MigrationFailedException: Migration failed for change set /opt/R1/share/n2o-liquibase/liquibase/db/changelog/201510061353_create_mc_case_diet.xml::201510222124_v2::atitov:
  41. Reason: liquibase.exception.DatabaseException: ERROR: insert or update on table "mc_case_diet" violates foreign key constraint "mc_case_id_fk"
  42. Detail: Key (case_id)=(59620) is not present in table "mc_case". [Failed SQL: ALTER TABLE public.mc_case_diet ADD CONSTRAINT mc_case_id_fk FOREIGN KEY (case_id) REFERENCES public.mc_case (id)]
  43. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:584)
  44. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:51)
  45. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:73)
  46. at liquibase.Liquibase.update(Liquibase.java:210)
  47. at liquibase.Liquibase.update(Liquibase.java:190)
  48. at liquibase.integration.commandline.Main.doMigration(Main.java:1096)
  49. at liquibase.integration.commandline.Main.run(Main.java:180)
  50. at liquibase.integration.commandline.Main.main(Main.java:99)
  51. Caused by: liquibase.exception.DatabaseException: ERROR: insert or update on table "mc_case_diet" violates foreign key constraint "mc_case_id_fk"
  52. Detail: Key (case_id)=(59620) is not present in table "mc_case". [Failed SQL: ALTER TABLE public.mc_case_diet ADD CONSTRAINT mc_case_id_fk FOREIGN KEY (case_id) REFERENCES public.mc_case (id)]
  53. at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:316)
  54. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
  55. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:122)
  56. at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1247)
  57. at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1230)
  58. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:548)
  59. ... 7 more
  60. Caused by: org.postgresql.util.PSQLException: ERROR: insert or update on table "mc_case_diet" violates foreign key constraint "mc_case_id_fk"
  61. Detail: Key (case_id)=(59620) is not present in table "mc_case".
  62. at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
  63. at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2155)
  64. at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:288)
  65. at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)
  66. at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)
  67. at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:303)
  68. at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:289)
  69. at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:266)
  70. at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:262)
  71. at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:314)
  72. ... 12 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement