Skip to content

Commit 32175e9

Browse files
Update docs: mention Docker requirement for db pull (#4553)
* chore(docs): mention Docker requirement for db pull * Clarify Docker requirement in pull.md Updated note about Docker requirement for the pull command. --------- Co-authored-by: Han Qiao <[email protected]>
1 parent d0f2c78 commit 32175e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/supabase/db/pull.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Pulls schema changes from a remote database. A new migration file will be create
44

55
Requires your local project to be linked to a remote database by running `supabase link`. For self-hosted databases, you can pass in the connection parameters using `--db-url` flag.
66

7+
> Note this command requires Docker Desktop (or a running Docker daemon), as it starts a local Postgres container to diff your remote schema.
8+
79
Optionally, a new row can be inserted into the migration history table to reflect the current state of the remote database.
810

911
If no entries exist in the migration history table, `pg_dump` will be used to capture all contents of the remote schemas you have created. Otherwise, this command will only diff schema changes against the remote database, similar to running `db diff --linked`.

0 commit comments

Comments
 (0)