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
My app database user is restricted user that can not drop or create databases, so db:push fails, because it tries to drop database on behalf of restricted user. I really don't want to change permissions for app database user, so I see two ways how to resolve it:
Allow to pass password for 'postgres' user, so dabatase create/drop will be run on behalf of 'postgres' user.
Truncate tables instead of database drop/create. I don't prefer it, because it's a bit tricky thing on Postgresql.
Any ideas?
The text was updated successfully, but these errors were encountered:
My app database user is restricted user that can not drop or create databases, so
db:push
fails, because it tries to drop database on behalf of restricted user. I really don't want to change permissions for app database user, so I see two ways how to resolve it:Any ideas?
The text was updated successfully, but these errors were encountered: