add files infra docker service for data platform
This commit is contained in:
9
01-infra/init/01-create-schemas.sql
Normal file
9
01-infra/init/01-create-schemas.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
CREATE SCHEMA IF NOT EXISTS fastapi;
|
||||
CREATE SCHEMA IF NOT EXISTS operationbi;
|
||||
CREATE SCHEMA IF NOT EXISTS raw_data;
|
||||
CREATE SCHEMA IF NOT EXISTS analytics;
|
||||
|
||||
GRANT ALL ON SCHEMA fastapi TO postgres;
|
||||
GRANT ALL ON SCHEMA operationbi TO postgres;
|
||||
GRANT ALL ON SCHEMA raw_data TO postgres;
|
||||
GRANT ALL ON SCHEMA analytics TO postgres;
|
||||
Reference in New Issue
Block a user