Skip to content

Commit

Permalink
Fixed MassTransit#5141 - Quotes around username in Postgres Migrator
Browse files Browse the repository at this point in the history
  • Loading branch information
phatboyg committed Apr 27, 2024
1 parent 71429ff commit 25fd050
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class PostgresDatabaseMigrator :
const string GrantRoleSql = """
GRANT USAGE ON SCHEMA "{1}" TO "{0}";
ALTER SCHEMA "{1}" OWNER TO "{0}";
GRANT "{0}" TO {2};
GRANT "{0}" TO "{2}";
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA "{1}" TO "{0}";
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA "{1}" TO "{0}";
ALTER DEFAULT PRIVILEGES IN SCHEMA "{1}" GRANT ALL PRIVILEGES ON TABLES TO "{0}";
Expand Down

0 comments on commit 25fd050

Please sign in to comment.