Skip to content

Commit 137d15a

Browse files
committed
Clean
1 parent 8a2ed6f commit 137d15a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

backend/supabase/migrations/20241111141653_add_languages_to_profiles.sql renamed to backend/supabase/migrations/20251110_add_languages_to_profiles.sql

File renamed without changes.

backend/supabase/migrations/20250101120000_add_mbti_to_profiles.sql renamed to backend/supabase/migrations/20251112_add_mbti_to_profiles.sql

File renamed without changes.

‎docs/development.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ To do so, you can add code in a similar way as in [this commit](https://github.c
1717

1818
Note that you will also need to add a column to the `profiles` table in the dev database before running the code; you can do so via this SQL command (change the type if not `TEXT`):
1919
```sql
20-
ALTER TABLE profiles ADD COLUMN some_new_profile_field TEXT;
20+
ALTER TABLE profiles ADD COLUMN profile_field TEXT;
2121
```
2222

23-
Store it in `add_some_some_profile_field.sql` in the [migrations](../backend/supabase/migrations) folder and run [migrate.sh](../scripts/migrate.sh) from the root folder:
23+
Store it in `add_profile_field.sql` in the [migrations](../backend/supabase/migrations) folder and run [migrate.sh](../scripts/migrate.sh) from the root folder:
2424
```bash
25-
./scripts/migrate.sh backend/supabase/migrations/add_some_new_profile_field.sql
25+
./scripts/migrate.sh backend/supabase/migrations/add_profile_field.sql
2626
```
2727

2828
Then sync the database types from supabase to the local files (which assist Typescript in typing):

0 commit comments

Comments
 (0)