update flyway 10->12
This commit is contained in:
4
db/migration/V035__postgrest_ems_anon_schema_usage.sql
Normal file
4
db/migration/V035__postgrest_ems_anon_schema_usage.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
-- Po pg_restore --no-acl často chybí GRANT USAGE ON SCHEMA ems pro ems_anon.
|
||||
-- PostgREST pak vrací: permission denied for schema ems (42501).
|
||||
|
||||
GRANT USAGE ON SCHEMA ems TO ems_anon;
|
||||
@@ -34,3 +34,5 @@ GRANT SELECT ON ems.market_price_stats TO ems_anon;
|
||||
GRANT SELECT ON ems.tuv_usage_stats TO ems_anon;
|
||||
GRANT SELECT ON ems.baseline_load_forecast_accuracy TO ems_anon;
|
||||
GRANT SELECT ON ems.vw_baseline_load_forecast_accuracy_daily TO ems_anon;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user