mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
Merge branch 'blog/cli' of github.com:supabase/supabase into blog/cli
This commit is contained in:
commit
2e02e0fc99
1 file changed
+3
-3
@@ -171,12 +171,12 @@ Done.
|
||||
|
||||
A sample diff can be seen on this [gist](https://gist.github.com/steve-chavez/3f286a233806aeee0bcea4a47f97f0b5). This was generated by diffing these [two databases](https://github.com/supabase/pgadmin4/tree/cli/web/pgadmin/tools/schema_diff/tests/pg/10_plus).
|
||||
|
||||
On these [lines](https://gist.github.com/steve-chavez/3f286a233806aeee0bcea4a47f97f0b5#file-diff_demo-sql-L1022-L1023), you can see how it tracks the view's owner change (note: the `ALTER TABLE` statement is interchangeable with `ALTER VIEW` in this case). Additionally, you can see that it handles [domains](https://gist.github.com/steve-chavez/3f286a233806aeee0bcea4a47f97f0b5#file-diff_demo-sql-L278-L287) just fine(this is an edge-case that other diff tools don't handle).
|
||||
On these [lines](https://gist.github.com/steve-chavez/3f286a233806aeee0bcea4a47f97f0b5#file-diff_demo-sql-L1022-L1023), you can see how it tracks the view's owner change (note: the `ALTER TABLE` statement is interchangeable with `ALTER VIEW` in this case). Additionally, you can see that it handles [domains](https://gist.github.com/steve-chavez/3f286a233806aeee0bcea4a47f97f0b5#file-diff_demo-sql-L278-L287) just fine, this is an edge-case that other diff tools don't handle.
|
||||
|
||||
Also, similarly to the pgAdmin GUI:
|
||||
|
||||
- You can include and exclude database objects from the diff with `--include-objects` or `--exclude-objects`
|
||||
- You can choose a single schema to diff with the `--schema` argument. We recommend you do this for Supabase databases. Diffing the whole database can take a while because of the `extensions` schema (especially if you enable PostGIS, which adds many functions).
|
||||
- You can choose a single schema to diff with the `--schema` argument or you can pick different schemas to compare with the --source-schema and --target-schema arguments. We recommend you do this for Supabase databases. Diffing the whole database can take a while because of the `extensions` schema (especially if you enable PostGIS, which adds many functions).
|
||||
|
||||
### Next steps
|
||||
|
||||
@@ -220,4 +220,4 @@ Head over to the [Self Hosting Docs](https://docs-git-docs-self-hosting-supabase
|
||||
|
||||
If you require any assistance feel free to reach out in our [github discussions](https://github.com/supabase/supabase/discussions) or at beta@supabase.io.
|
||||
|
||||
Check out what else we've [launched this week](https://supabase.io/new/blog/2021/03/25/launch-week), contribute to the [CLI repo](https://github.com/supabase/cli), or go here for the [hosted version](https://app.supabase.io).
|
||||
Check out what else we've [launched this week](https://supabase.io/new/blog/2021/03/25/launch-week), contribute to the [CLI repo](https://github.com/supabase/cli), or go here for the [hosted version](https://app.supabase.io).
|
||||
Reference in new issue
Block a user