Skip to content

Commit

Permalink
Update migrations.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Shazib authored Nov 25, 2023
1 parent 84306d1 commit 0c19aa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/contributing/project-details/migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ There are some important considerations to make when adding a feature with a db

* The naming convention is as follows: `TIMESTAMP_name.sql`. for example. `1694438752000_add_goal_targets.sql`

* It is strongly discouraged to try to remove columns and tables, This makes reverting changes impossible and introduces unneccessary risk when we can simply stop using them in code.
* It is strongly discouraged to try to remove columns and tables, This makes reverting changes impossible and introduces unnecessary risk when we can simply stop using them in code.

* You should be very deliberate with your migration. When adding a feature, try to think about future scenarios and options that may be desired later, so we can minimise the number of migrations.
* You should be very deliberate with your migration. When adding a feature, try to think about future scenarios and options that may be desired later, so we can minimise the number of migrations.

0 comments on commit 0c19aa9

Please sign in to comment.