From 877845c97479bfddda887701110d9b6b74523d5a Mon Sep 17 00:00:00 2001 From: Aditya Thebe Date: Wed, 6 May 2026 12:37:24 +0545 Subject: [PATCH 1/2] docs: Self hosting CloudSQL setup --- .../docs/installation/self-hosted/database.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mission-control/docs/installation/self-hosted/database.md b/mission-control/docs/installation/self-hosted/database.md index 297a4a4c..fe6f87b8 100644 --- a/mission-control/docs/installation/self-hosted/database.md +++ b/mission-control/docs/installation/self-hosted/database.md @@ -63,3 +63,14 @@ db: name: mission-control-postgres key: DB_URL ``` + +### Google Cloud SQL + +When you use Google Cloud SQL for PostgreSQL, grant the Mission Control database user the permissions required by startup migrations before you install or upgrade Mission Control: + +```sql +GRANT cloudsqlsuperuser TO your_username; +ALTER ROLE your_username CREATEROLE; +``` +
+> Replace `your_username` with the user configured in the Mission Control database secret. From dde18ac4de1099abf9238ef830307832a7e26634 Mon Sep 17 00:00:00 2001 From: Aditya Thebe Date: Wed, 6 May 2026 14:46:33 +0545 Subject: [PATCH 2/2] fix: lint error --- mission-control/docs/installation/self-hosted/database.md | 1 + 1 file changed, 1 insertion(+) diff --git a/mission-control/docs/installation/self-hosted/database.md b/mission-control/docs/installation/self-hosted/database.md index fe6f87b8..0dd3699d 100644 --- a/mission-control/docs/installation/self-hosted/database.md +++ b/mission-control/docs/installation/self-hosted/database.md @@ -72,5 +72,6 @@ When you use Google Cloud SQL for PostgreSQL, grant the Mission Control database GRANT cloudsqlsuperuser TO your_username; ALTER ROLE your_username CREATEROLE; ``` +
> Replace `your_username` with the user configured in the Mission Control database secret.