org.postgresql.util.PSQLException: ERROR: relation "schema_migrations" does not exist Position: 16

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

via by Unknown author

Upgrade the database driver to the latest and check.


Replace version with the latest driver version.

Expert tip

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>

Solutions on the web

via GitHub by samroberton
, 1 year ago
ERROR: relation "schema_migrations" does not exist Position: 16
via Stack Overflow by Aarish
, 11 months ago
ERROR: function array_remove(text[], character varying) does not exist Hint: No function matches the given name and argument types. You might need to add explicit type casts. Position: 60
via GitHub by samlotti2
, 1 year ago
ERROR: error in argument for $3: could not parse string "2016-7-17 -4:0:0" as date
via Stack Overflow by displayname
, 2 months ago
ERROR: null value in column "created" violates not-null constraint Detail: Failing row contains (1, null, null, null, $2a$10$0GEFgVryvwG3Dv5LN1tg6evPpl4wQ9uJOWiMKMyZq8HVQXCMRt.kS, null, test).
via GitHub by BorisDomajnko
, 1 year ago
ERROR: relation "uca_metadata.prop" does not exist
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 migratus.database$completed_ids_STAR_$fn__26375.invoke(database.clj:234)

Users with the same issue

37 times, 6 days ago
3 times, 1 month ago
Once, 2 months ago
Once, 2 months ago
32 times, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.