MentorsWithoutBorders / mwb-connect-backend

Apache License 2.0
3 stars 3 forks source link

Feature: Migrations Setup #34

Closed 2yk closed 8 months ago

2yk commented 8 months ago

I am trying to solve the database table sync issue in this PR. After this update, no manual work is required.

  1. I am using the current database dump as the first migration so that we all can be in sync in the current stage
  2. After that, it is best to use migrations and create/update new migrations for any database change. (NO MANUAL DATABASE CHANGE SHOULD BE DONE DIRECTLY; ALL SHOULD GO THROUGH PROGRAMMITCALLY)
  3. I updated the README file to understand how to use these migrations.
  4. Also added Sample env file