Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
colindickson committed Nov 28, 2023
1 parent 49babed commit be809cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/dialect_postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func (d postgresDialect) CreateUser(tx Tx, ctx context.Context, l *Loader, usern
CREATE ROLE %s LOGIN PASSWORD '%s';
GRANT CONNECT ON DATABASE %s TO %s;
GRANT USAGE ON SCHEMA public TO %s;
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO %s
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO %s;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO %s;
`, user, pass, db, user, user, user, user)
} else {
Expand Down

0 comments on commit be809cb

Please sign in to comment.