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