Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Updates

Terry Suttond7f33e397902
diff --git a/apps/docs/pages/guides/cli/local-development.mdx b/apps/docs/pages/guides/cli/local-development.mdx
index 5405bf6d3eb..6fb3f410aa7 100644
--- a/apps/docs/pages/guides/cli/local-development.mdx
+++ b/apps/docs/pages/guides/cli/local-development.mdx
@@ -216,6 +216,7 @@ create table
employees (
id integer primary key generated always as identity,
name text
+email text not null
);
````
@@ -352,7 +353,8 @@ supabase link --project-ref <project-id>
# You can get <project-id> from your project's dashboard URL: https://app.supabase.com/project/<project-id>
supabase db remote commit
-# Capture any changes that you have made to your database before setting up the CLI
+# Capture any changes that you have made to your remote database before you went through the steps above
+# If you have not made any changes to the remote database, skip this step
```
`supabase/migrations` is now populated with a migration in `..._remote_commit.sql`.
@@ -372,6 +374,8 @@ Deploy any local database migrations using [`db push`](/docs/reference/cli/usage
supabase db push
```
+Visiting your live project on [Supabase](https://app.supabase.com), you'll see a new `employees` table, complete with the `department` column you added in the second migration above.
+
### Deploy Edge Functions
If your project uses Edge Functions, you can deploy these using [`functions deploy`](/docs/reference/cli/usage#supabase-functions-deploy):