From 01b962bf655962c009766f8f3efed571c7c74e9e Mon Sep 17 00:00:00 2001 From: Paul Copplestone Date: Mon, 6 Sep 2021 20:54:08 +0800 Subject: [PATCH] Moves some of the config into the guides --- vercel.json | 7 +- .../guides/database/managing-passwords.mdx | 26 ++- .../guides/database/resource-management.mdx | 27 --- web/spec/postgres.yml | 163 ------------------ 4 files changed, 16 insertions(+), 207 deletions(-) delete mode 100644 web/docs/guides/database/resource-management.mdx diff --git a/vercel.json b/vercel.json index f29cd06c730..e3601b1f34d 100644 --- a/vercel.json +++ b/vercel.json @@ -220,7 +220,12 @@ { "source": "/docs/careers", "destination": "https://about.supabase.com/careers" }, { "source": "/docs/careers/:match*", "destination": "https://about.supabase.com/careers//:match*" }, - { "source": "/docs/resources", "destination": "/docs/guides" } + { "source": "/docs/resources", "destination": "/docs/guides" }, + + { "source": "/docs/guides/database/resource-management", "destination": "/docs/guides/database/timeouts" }, + { "source": "/docs/reference/postgres/database-passwords", "destination": "/docs/guides/database/managing-passwords" }, + { "source": "/docs/reference/postgres/changing-timezones", "destination": "/docs/guides/database/managing-timezones" }, + { "source": "/docs/reference/postgres/publications", "destination": "/docs/guides/database/replication" } ], diff --git a/web/docs/guides/database/managing-passwords.mdx b/web/docs/guides/database/managing-passwords.mdx index 4b2021c2dc4..84e543ed46c 100644 --- a/web/docs/guides/database/managing-passwords.mdx +++ b/web/docs/guides/database/managing-passwords.mdx @@ -1,6 +1,6 @@ --- id: managing-passwords -title: "Managing Database Passwords" +title: "Passwords" description: How to change your PostgreSQL database password. --- @@ -8,7 +8,7 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; Your PostgreSQL database is the core of your Supabase project, so it's important that it has a strong, secure password at all times. -Your passwords should not contain of the following symbols: +We recommend avoiding these symbols: `: / ? # ] [ @ ! $ & ' ( ) * + , ; =` @@ -18,14 +18,7 @@ Special symbols can conflict with connection string URLs, so it's best to avoid ### Changing your project password When you created your project you were also asked to enter a password. This is actually the password for your database, specifically for the `postgres` user. -You can update this password from the Supabase Dashboard](https://supabase.io): - -> @TODO: clean this up. Also we should generate a random password in the code snippet below otherwise everyone will copy/paste the same password. - -- Home -- Select a Project -- SQL -- New Query +You can update this using SQL: