mirror of
https://github.com/supabase/setup-cli.git
synced 2025-12-08 16:16:25 +00:00
remove headings
This commit is contained in:
@@ -2,20 +2,7 @@
|
|||||||
|
|
||||||
You can use the Supabase CLI to automatically generate Typescript definitions from your Postgres database. You can then pass these definitions to your `supabase-js` client and get end-to-end type safety across client, server, and database.
|
You can use the Supabase CLI to automatically generate Typescript definitions from your Postgres database. You can then pass these definitions to your `supabase-js` client and get end-to-end type safety across client, server, and database.
|
||||||
|
|
||||||
<div className="video-container">
|
Inside your repository, create a new file inside the `.github/workflows` folder called `generate-types.yml`. Copy this snippet inside the file, and the action will run whenever a new PR is created:
|
||||||
<iframe
|
|
||||||
src="https://www.youtube-nocookie.com/embed/VSNgAIObBdw"
|
|
||||||
frameBorder="1"
|
|
||||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
|
||||||
allowFullScreen
|
|
||||||
></iframe>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
## Testing your migrations
|
|
||||||
|
|
||||||
Inside your repository, create a new file inside the `.github/workflows` folder called `generate-types.yml`.
|
|
||||||
|
|
||||||
Copy this snippet inside the file, and the action will run whenever a new PR is created:
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
name: 'generate-types'
|
name: 'generate-types'
|
||||||
|
|||||||
Reference in New Issue
Block a user