move code snippet above tip that references it (#27581)

* move code snippet above tip that references it

* change wording
This commit is contained in:
Trevor Dobbertin authored and GitHub committed 2024-07-08 19:16:33 +00:00
1 parent 8aef4a08bf
commit 9956f195f5
1 file changed
+1 -1
@@ -206,7 +206,7 @@ const countriesWithCities: CountriesWithCities = data
One way to keep your type definitions in sync with your database is to set up a GitHub action that runs on a schedule.
Add the script above to your `package.json` to run it using `npm run update-types`
Add the following script to your `package.json` to run it using `npm run update-types`
```json
"update-types": "npx supabase gen types typescript --project-id \"$PROJECT_REF\" > types/supabase.ts"