Open zking2000 opened 5 months ago
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO nextclouduser;
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL ON TABLES TO nextclouduser;
GRANT ALL PRIVILEGES ON DATABASE "nextclouddb-stable" TO nextclouduser;
ALTER DEFAULT PRIVILEGES FOR USER nextclouduser IN SCHEMA public GRANT ALL ON TABLES TO nextclouduser;
ALTER DEFAULT PRIVILEGES FOR USER nextclouduser IN SCHEMA public GRANT ALL ON FUNCTIONS TO nextclouduser;
Preparation
Create CloudSQL Instance and Proxy
Constraint: Some commands unable to complete through terraform. So it also need gcloud as compensation