The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Address blog comments
Qiao Han215d40abc1a8
diff --git a/apps/www/_blog/2022-08-15-launch-week-five-cli-v1-and-admin-api-beta.mdx b/apps/www/_blog/2022-08-15-launch-week-five-cli-v1-and-admin-api-beta.mdxindex b9e437cee88..3ac26d2e1cb 100644--- a/apps/www/_blog/2022-08-15-launch-week-five-cli-v1-and-admin-api-beta.mdx+++ b/apps/www/_blog/2022-08-15-launch-week-five-cli-v1-and-admin-api-beta.mdx@@ -13,7 +13,7 @@ toc_depth: 3Today we are moving the Supabase CLI v1 out of beta. The Supabase CLI is capable of managing database migrations and generating TypeScript types. Follow these [install instructions](https://supabase.com/docs/reference/cli/installing-and-updating) to get started.-In addition, we are also announcing the Admin API beta. The Admin API is a REST API that allows you to manage organizations, projects, Edge Functions, and more. You can read the [API docs](https://supabase.com/docs/reference/api) or interact with the Admin API from the Supabase CLI v1.+In addition, we are releasing an Admin API (in beta). The Admin API is a REST API that allows you to manage organizations, projects, Edge Functions, and more. You can read the [API docs](https://supabase.com/docs/reference/api) or interact with the Admin API from the Supabase CLI v1.## Manage organizations, projects, Edge Functions, and more@@ -31,9 +31,7 @@ Once your new Supabase project is created, use the CLI to link it locally to begsupabase link --project-ref <project-id>```-You can also [call the Admin API endpoint directly](#admin-api) to create a project.--View the [Supabase CLI docs](https://supabase.com/new-docs/reference/cli) for the full list of available commands.+View the [Supabase CLI docs](https://supabase.com/docs/reference/cli) for the full list of available commands.## Schema migrations@@ -43,7 +41,7 @@ You asked for more database migration support, and we listened. We've made improPreviously we supported schema diff-ing using PgAdmin. We found that the tool did not account for default privileges when generating role grants. This leads to verbose statements when diff-ing complex schema changes.-To improve the usability of `db diff` command, we are introducing another tool, [migra](https://github.com/djrobstep/migra), via the `--use-migra` experimental flag. We found that `migra` runs faster and produces more concise DDL statements. While the generated scripts are [not perfect](https://supabase.com/blog/supabase-cli#migrations), we hope this tool helps you iterate quicker on your migration scripts.+To improve the usability of `db diff` command, we are introducing another tool, [migra](https://github.com/djrobstep/migra), via the `--use-migra` experimental flag. We found that `migra` runs faster and produces more concise DDL statements. While the generated scripts are [not perfect](https://supabase.com/blog/supabase-cli#migrations), we hope this tool helps you iterate quicker on your migration scripts. Over time (and with your feedback) we hope to improve schema-diffing to cover all edge-cases.```bash$ supabase db diff --use-migra --file file_name@@ -56,7 +54,7 @@ In the long-term we hope to consolidate on a single diff-ing tool which is perfe### Manual migrations-For manual migrations, you can now test them out locally without the fear of losing unsaved data. Run the following commands to clone your local database to a new branch.+You can test manual migrations locally without data loss using local branching. Run the following commands to clone your local database to a new branch.```bashsupabase db branch new my_branch@@ -104,7 +102,7 @@ Of course, the types aren't very useful on its own, you need some way to consume# Admin API-The CLI is the first consumer of our new Admin API. Over the next few weeks, we'll be adding all the endpoints needed to programmatically add, remove, and update your Supabase projects. This is ideal for CI/CD workflows and spinning up test environments.+The CLI is the first consumer of our new Admin API. Over the next few weeks, we'll be adding the endpoints needed to programmatically add, remove, and update your Supabase projects. This is ideal for CI/CD workflows and spinning up test environments.Here's an example of deploying a new project from the command line (generate your access token from the [Supabase Dashboard](https://app.supabase.com/account/tokens)).@@ -115,7 +113,7 @@ curl 'https://api.supabase.com/v1/projects' \-d '{"name": "my-project", "organization_id": "cool-green-pqdr0qc", "region": "us-east-1", "plan": "free", "db_pass": "********"}'```-The response JSON should have the same fields as the example below:+The response JSON will match the example below:```json{