Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/backend/Migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,6 @@ Commit the changes:

- By their nature, migrations become outdated as the database model changes. You are never expected to update migrations due to any changes in the code that are made.
- If needed, for example because the migration shows errors due to a code (model) changes, migrations can be deleted, since they will still be accessible in the git history.

#### Initial setup failure
- If the initial setup using `npm run setup:db:seed` and `npm run migration:up` fails you may want to delete the `dist` folder and try again.