-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
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"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels