There was an error while loading. Please reload this page.
1 parent 2c59176 commit 2198cb5Copy full SHA for 2198cb5
apps/docs/pages/guides/platform/migrating-and-upgrading-projects.mdx
@@ -153,6 +153,7 @@ Note that this direct connection string to the database uses IPv6. If your netwo
153
supabase db dump --db-url "$OLD_DB_URL" -f roles.sql --role-only
154
supabase db dump --db-url "$OLD_DB_URL" -f schema.sql
155
supabase db dump --db-url "$OLD_DB_URL" -f data.sql --use-copy --data-only
156
+supabase db dump --db-url "$OLD_DB_URL" -f history.sql --use-copy --data-only --schema supabase_migrations
157
```
158
159
### Restore to your new project
@@ -186,6 +187,7 @@ psql \
186
187
--file schema.sql \
188
--command 'SET session_replication_role = replica' \
189
--file data.sql \
190
+ --file history.sql \
191
--dbname "$NEW_DB_URL"
192
193
0 commit comments