Files
supabase/apps/temp-docs/docs/reference/cli/supabase-db-commit.mdx
2022-04-26 14:17:19 +02:00

16 lines
377 B
Plaintext

---
id: supabase-db-commit
title: "supabase db commit"
slug: supabase-db-commit
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/cli.yml
---
import Tabs from '@theme/Tabs';
import TabsPanel from '@theme/TabsPanel';
```
Diffs the local database with current migrations, writing it as a new migration.
Usage:
supabase db commit <migration name>
```