org.postgresql.util.PSQLException

ERROR: relation "schema_migrations" does not exist Position: 16

Samebug tips1

Try downgrading PostgresSQL server to 9.5 or update your PostgresSQL driver to 9.4-1211 with the following command: <postgresql.version>9.4.1211</postgresql.version>


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1540

  • via GitHub by samroberton
    ,
  • via GitHub by rdp
    ,
  • Stack trace

    • org.postgresql.util.PSQLException: ERROR: relation "schema_migrations" does not exist Position: 16 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200) at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424) at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:161) at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:114) at clojure.java.jdbc$db_query_with_resultset$run_query_with_params__3176.invoke(jdbc.clj:861) at clojure.java.jdbc$db_query_with_resultset.invokeStatic(jdbc.clj:877) at clojure.java.jdbc$db_query_with_resultset.invoke(jdbc.clj:847) at clojure.java.jdbc$query.invokeStatic(jdbc.clj:915) at clojure.java.jdbc$query.invoke(jdbc.clj:884) at clojure.java.jdbc$query.invokeStatic(jdbc.clj:898) at clojure.java.jdbc$query.invoke(jdbc.clj:884) at migratus.database$completed_ids_STAR_$fn__26375.invoke(database.clj:234)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    serious2monkeysserious2monkeys
    6 times, last one
    Unknown visitor
    Unknown visitorOnce,
    smyrgeorgesmyrgeorge
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor2 times, last one
    91 more bugmates