mirror of
https://github.com/google/nomulus
synced 2026-08-19 05:36:11 +00: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user