Skip to content
Notes/

Upgrading Merxius API database

Points to remember:

  1. DO NOT delete migrations
  2. create new migrations to handle table structure changes (and corresponding Seeders to handle data change)

If any data has been added on the production environment, steps:

  1. export production database
  2. drop all tables of development database
  3. import production database
  4. run migrations on newly imported database
  5. export database and import into production server