You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Completely rewriting this with better formatting and info. It wasn't the database name, it was the user. FlyWay errors out when I try to use a user which isn't postgres to access things.
* What went wrong:
Execution failed for task ':api-svc:db:flywayMigrate'.
> Error occurred while executing flywayMigrate
Migration B25__baseline.sql failed
----------------------------------
SQL State : 42501
Error Code : 0
Message : ERROR: must be member of role "postgres"
Location : db/migration/B25__baseline.sql (/opt/raid/api-svc/db/build/resources/main/db/migration/B25__baseline.sql)
Line : 19
Statement : ALTER SCHEMA api_svc OWNER TO postgres
Migration B25__baseline.sql failed
----------------------------------
SQL State : 42501
Error Code : 0
Message : ERROR: must be member of role "postgres"
Location : db/migration/B25__baseline.sql (/opt/raid/api-svc/db/build/resources/main/db/migration/B25__baseline.sql)
Line : 19
Statement : ALTER SCHEMA api_svc OWNER TO postgres
ERROR: must be member of role "postgres"
The text was updated successfully, but these errors were encountered:
Completely rewriting this with better formatting and info. It wasn't the database name, it was the user. FlyWay errors out when I try to use a user which isn't
postgres
to access things.The text was updated successfully, but these errors were encountered: