diff --git a/apps/docs/content/guides/auth/server-side/sveltekit.mdx b/apps/docs/content/guides/auth/server-side/sveltekit.mdx index 845cd0aebbcdf..f8b0719df4b2c 100644 --- a/apps/docs/content/guides/auth/server-side/sveltekit.mdx +++ b/apps/docs/content/guides/auth/server-side/sveltekit.mdx @@ -321,7 +321,7 @@ Set up a listener for Auth events on the client, to handle session refreshes and -Create your first page. This example page calls Supabase from the server to get a list of countries from the database. +Create your first page. This example page calls Supabase from the server to get a list of colors from the database. This is an example of a public page that uses publicly readable data. diff --git a/apps/docs/content/guides/local-development/declarative-database-schemas.mdx b/apps/docs/content/guides/local-development/declarative-database-schemas.mdx index 54076678dce51..bc71dc34edf99 100644 --- a/apps/docs/content/guides/local-development/declarative-database-schemas.mdx +++ b/apps/docs/content/guides/local-development/declarative-database-schemas.mdx @@ -98,28 +98,6 @@ supabase migration up - - Before updating your schema files, stop the local development environment. - - - - -<$CodeTabs> - -```bash name=Terminal -supabase stop -``` - - - - - - - - - - - Edit `supabase/schemas/employees.sql` file to add a new column to `employees` table. @@ -151,7 +129,7 @@ Some entities like views and enums expect columns to be declared in a specific o - + Diff existing migrations against your declared schema. @@ -173,7 +151,7 @@ supabase db diff -f add_age - + Verify that the generated migration contain a single incremental change. @@ -194,7 +172,7 @@ alter table "public"."employees" add column "age" smallint not null; - + Start the database locally and apply the pending migration. @@ -204,7 +182,7 @@ alter table "public"."employees" add column "age" smallint not null; <$CodeTabs> ```bash name=Terminal -supabase start && supabase migration up +supabase migration up ``` diff --git a/apps/docs/spec/supabase_js_v2.yml b/apps/docs/spec/supabase_js_v2.yml index 1a415da3fef8c..b69b6cb68af7e 100644 --- a/apps/docs/spec/supabase_js_v2.yml +++ b/apps/docs/spec/supabase_js_v2.yml @@ -4406,7 +4406,7 @@ functions: name: Call a read-only Postgres function code: | ```ts - const { data, error } = await supabase.rpc('hello_world', { get: true }) + const { data, error } = await supabase.rpc('hello_world', undefined, { get: true }) ``` data: sql: |