laravelReset method

void laravelReset (
  1. {String path}
)

Implementation

void laravelReset({String path}) {
  ANSIPrinter().printRGB('Running Migration... ',
      breakLine: true, bGray: 1.0, fColor: 0xff4BB543);
  shell.cd(path).run('''
  php artisan migrate:rollback
  php artisan migrate:reset
  php artisan migrate:fresh
  php artisan migrate:fresh --seed
  ''').then((a) {
    ANSIPrinter().printRGB('SuccessFully Reset Migrate',
        breakLine: true, bGray: 1.0, fColor: 0xff4BB543);
  });
}