Use artisan for the reload-db dev command

This commit is contained in:
Nabeel Shahzad
2018-05-10 10:17:41 -05:00
parent 42c6a11780
commit 62aa825c0f
2 changed files with 15 additions and 12 deletions

View File

@@ -58,11 +58,7 @@ reset: cleanapp/Models/Traits/JournalTrait.php
.PHONY: reload-db
reload-db:
@php artisan database:create --reset
@php artisan migrate:fresh --seed
@php artisan phpvms:yaml-import app/Database/seeds/sample.yml
@php artisan phpvms:yaml-import app/Database/seeds/acars.yml
#php artisan phpvms:navdata
@php artisan phpvms:dev-install --reset-db
.PHONY: tests
tests: test