From 2de1f4383b14b19fc9c2a30ab7c173e22f2c3382 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 9 Nov 2022 11:09:33 -0300 Subject: [PATCH] - Adds a note about ANON Key on Local Development page. - Reorganize notes between Tab Panels on the Local Development page. Reason: the note about the postgres is out of place and I searched about the ANON KEY on local development and didn't find any information anywhere. --- apps/docs/docs/guides/cli/local-development.mdx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/apps/docs/docs/guides/cli/local-development.mdx b/apps/docs/docs/guides/cli/local-development.mdx index 7ff4004a730..55c0462beb5 100644 --- a/apps/docs/docs/guides/cli/local-development.mdx +++ b/apps/docs/docs/guides/cli/local-development.mdx @@ -82,6 +82,12 @@ For example: psql 'postgresql://postgres:postgres@localhost:54322/postgres' ``` + + +To access the database from an edge function in your local Supabase setup, replace `localhost` with `host.docker.internal`. + + + @@ -104,15 +110,15 @@ http://localhost:54321/storage/v1/ # Storage http://localhost:54321/auth/v1/ # Auth (GoTrue) ``` - - - -To access the database from an edge function in your local Supabase setup, replace `localhost` with `host.docker.internal`. +`` is provided when you run the command `supabase start`. + + + ## Database migrations Database changes are managed through "migrations." Database migrations are a common way of tracking changes to your database over time.