Update declarative-database-schemas.mdx (#35397)

The alert "Make sure your local database is stopped before diffing your schema." appears after completing the diff step.
It would be more useful to display it before performing the diff, to ensure that "supabase stop" is executed beforehand and not afterward.
This commit is contained in:
Julian S authored and GitHub committed 2025-05-01 15:32:15 +00:00
1 parent 2ca5a12854
commit 7307f96879
1 file changed
+6 -6
@@ -42,6 +42,12 @@ create table "employees" (
</StepHikeCompact.Step>
</StepHikeCompact>
<Admonition type="note">
Make sure your local database is stopped before diffing your schema.
</Admonition>
<StepHikeCompact>
<StepHikeCompact.Step step={2}>
@@ -64,12 +70,6 @@ supabase db diff -f create_employees_table
</StepHikeCompact.Step>
</StepHikeCompact>
<Admonition type="note">
Make sure your local database is stopped before diffing your schema.
</Admonition>
<StepHikeCompact>
<StepHikeCompact.Step step={3}>