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
The PostgreSQL CREATE DATABASE statement requires a superuser account and the WITH OWNER clause allows you to change ownership to, say, a normal service account.
It would be super nice to have this option in the PostgresqlDatabase method to minimize the use of a superuser connection string.
We've implemented a workaround to a similar problem (assigning ownership at the schema level) by inheriting the ScriptExecutor and override the GetVerifySchemaSql(string schema);, so this is definitely on my wishlist.
The PostgreSQL CREATE DATABASE statement requires a superuser account and the WITH OWNER clause allows you to change ownership to, say, a normal service account.
It would be super nice to have this option in the
PostgresqlDatabase
method to minimize the use of a superuser connection string.https://github.com/DbUp/DbUp/blob/master/src/dbup-postgresql/PostgresqlExtensions.cs#L189-L193
The text was updated successfully, but these errors were encountered: