migrate fresh

This is where we drop all tables and replace a new one base on our migration and stored database if present.

  • First we drop all the tables in database

  • we create the database repository if does not exist

  • after that, we load the stored database schema if exist

  • then we run the pending migrations on our local repository

  • insert the views schema

Last updated