fix: udpate migration script doc (#793)

Co-authored-by: miro.wilms <miro.wilms@aoe.com>
This commit is contained in:
MiroStW 2023-07-31 09:06:13 +02:00 committed by GitHub
parent 7513bea053
commit a609c01aa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,16 +105,18 @@ Additionally, you'll need a [Supabase](https://supabase.com/) account for:
- [ ] Change variables in `backend/core/.env`
- [ ] Change variables in `frontend/.env`
- **Step 4**: Run the following migration scripts on the Supabase database via the web interface (SQL Editor -> `New query`)
Use the `migration.sh` script to run the migration scripts
- **Step 4**: Use the `migration.sh` script to run the migration scripts
```bash
chmod +x migration.sh
./migration.sh
```
Choose either create_scripts if it's your first time or migrations if you are updating your database.
Choose either `Create all tables` if it's your first time or `Run migrations`
if you are updating your database.
Alternatively you can run the script on the Supabase database via the web
interface (SQL Editor -> `New query` -> paste the script -> `Run`)
All the scripts can be found in the [scripts](scripts/) folder