mirror of
https://github.com/google/nomulus.git
synced 2025-07-24 11:38:35 +02:00
Allow schema-push to all env with Flyway (#309)
* Make Flyway schema task work with prod and sandbox Also renamed the 'superuser' role to 'admin' since we do not own super user in Cloud SQL. * Allow pushing schema to all env with Flyway Desktop schema push to production is needed in the short term. Long-termly we need to decide if this should be kept for glass breaking Schema push to sandbox and production requires interactiveconfirmation. Also fixed a typo in initialize_roles.sql.
This commit is contained in:
parent
ce480a5191
commit
c3e3a1353b
2 changed files with 47 additions and 11 deletions
|
@ -16,7 +16,7 @@
|
|||
-- This script should run once under the **'postgres'** user before any other
|
||||
-- roles or users are created.
|
||||
|
||||
# Prevent backdoor grants through the implicit 'public' role.
|
||||
-- Prevent backdoor grants through the implicit 'public' role.
|
||||
REVOKE ALL PRIVILEGES ON SCHEMA public from public;
|
||||
|
||||
CREATE ROLE readonly;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue