rename yaml import/export
This commit is contained in:
4
Makefile
4
Makefile
@@ -61,8 +61,8 @@ reset: clean
|
||||
reload-db:
|
||||
@php artisan database:create --reset
|
||||
@php artisan migrate:fresh --seed
|
||||
@php artisan phpvms:import app/Database/seeds/sample.yml
|
||||
@php artisan phpvms:import app/Database/seeds/acars.yml
|
||||
@php artisan phpvms:yaml-import app/Database/seeds/sample.yml
|
||||
@php artisan phpvms:yaml-import app/Database/seeds/acars.yml
|
||||
#php artisan phpvms:navdata
|
||||
|
||||
.PHONY: tests
|
||||
|
||||
@@ -13,7 +13,7 @@ use Symfony\Component\Yaml\Yaml;
|
||||
*/
|
||||
class YamlExport extends Command
|
||||
{
|
||||
protected $signature = 'phpvms:export {tables*}';
|
||||
protected $signature = 'phpvms:yaml-export {tables*}';
|
||||
protected $description = 'YAML table export';
|
||||
|
||||
/**
|
||||
|
||||
@@ -11,7 +11,7 @@ use App\Services\DatabaseService;
|
||||
*/
|
||||
class YamlImport extends Command
|
||||
{
|
||||
protected $signature = 'phpvms:import {files*}';
|
||||
protected $signature = 'phpvms:yaml-import {files*}';
|
||||
protected $description = 'Developer commands';
|
||||
protected $dbSvc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user