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>


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( at org.postgresql.core.v3.QueryExecutorImpl.processResults( at org.postgresql.core.v3.QueryExecutorImpl.execute( at org.postgresql.jdbc.PgStatement.execute( at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags( at org.postgresql.jdbc.PgPreparedStatement.executeQuery( at$db_query_with_resultset$run_query_with_params__3176.invoke(jdbc.clj:861) at$db_query_with_resultset.invokeStatic(jdbc.clj:877) at$db_query_with_resultset.invoke(jdbc.clj:847) at$query.invokeStatic(jdbc.clj:915) at$query.invoke(jdbc.clj:884) at$query.invokeStatic(jdbc.clj:898) at$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

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