Cleanup some class names; move acars data into separate seed file

This commit is contained in:
Nabeel Shahzad
2018-02-22 09:31:07 -06:00
parent 3abf38ab93
commit abf47274a1
7 changed files with 550 additions and 576 deletions

View File

@@ -4,7 +4,7 @@ namespace App\Console\Commands;
use App\Console\BaseCommand;
class Importer extends BaseCommand
class ImportFromClassic extends BaseCommand
{
protected $signature = 'phpvms:importer {db_host} {db_name} {db_user} {db_pass?} {table_prefix=phpvms_}';
protected $description = 'Import from an older version of phpVMS';

View File

@@ -6,7 +6,7 @@ use App\Console\BaseCommand;
use App\Models\Enums\NavaidType;
use App\Models\Navdata;
class NavdataCommand extends BaseCommand
class NavdataImport extends BaseCommand
{
protected $signature = 'phpvms:navdata';
protected $description = '';

View File

@@ -5,7 +5,7 @@ namespace App\Console\Commands;
use App\Console\BaseCommand;
use App\Services\DatabaseService;
class ImportCommand extends BaseCommand
class YamlImport extends BaseCommand
{
protected $signature = 'phpvms:import {files*}';
protected $description = 'Developer commands';

View File

@@ -16,10 +16,10 @@ class Kernel extends ConsoleKernel
Commands\AcarsReplay::class,
Commands\CreateDatabase::class,
Commands\DevCommands::class,
Commands\ImportCommand::class,
Commands\Importer::class,
Commands\YamlImport::class,
Commands\ImportFromClassic::class,
Commands\Install::class,
Commands\NavdataCommand::class,
Commands\NavdataImport::class,
Commands\TestApi::class,
];