From a609c01aa8fab10e74eed64edd795c56bece1fdb Mon Sep 17 00:00:00 2001 From: MiroStW Date: Mon, 31 Jul 2023 09:06:13 +0200 Subject: [PATCH] fix: udpate migration script doc (#793) Co-authored-by: miro.wilms --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 63af4cf37..35234d812 100644 --- a/README.md +++ b/README.md @@ -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