srp form
This commit is contained in:
@@ -31,6 +31,97 @@ class CreateSrpTables extends Migration
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
if(!Schema::hasTable('srp_fleet_types')) {
|
||||
Schema::create('srp_fleet_types', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('code');
|
||||
$table->string('description');
|
||||
});
|
||||
}
|
||||
|
||||
if(!Schema::hasTable('srp_ship_types')) {
|
||||
Schema::create('srp_ship_types', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('code');
|
||||
$table->string('description');
|
||||
});
|
||||
}
|
||||
|
||||
DB::table('srp_fleet_types')->insert([
|
||||
'code' => 'None',
|
||||
'description' => 'None',
|
||||
]);
|
||||
|
||||
DB::table('srp_fleet_types')->insert([
|
||||
'code' => 'Home Defense',
|
||||
'description' => 'Home Defense',
|
||||
]);
|
||||
|
||||
DB::table('srp_fleet_types')->insert([
|
||||
'code' => 'Legacy Ops',
|
||||
'description' => 'Legacy Ops',
|
||||
]);
|
||||
|
||||
DB::table('srp_fleet_types')->insert([
|
||||
'code' => 'Strat Op',
|
||||
'description' => 'Strat Op',
|
||||
]);
|
||||
|
||||
DB::table('srp_fleet_types')->insert([
|
||||
'code' => 'CTA',
|
||||
'description' => 'CTA',
|
||||
]);
|
||||
|
||||
DB::table('srp_ship_types')->insert([
|
||||
'code' => 'None',
|
||||
'description' => 'None',
|
||||
]);
|
||||
|
||||
DB::table('srp_ship_types')->insert([
|
||||
'code' => 'T1FDC',
|
||||
'description' => 'T1 Frig / Dessie / Cruiser',
|
||||
]);
|
||||
|
||||
DB::table('srp_ship_types')->insert([
|
||||
'code' => 'T1BC',
|
||||
'description' => 'T1 Battelcruiser',
|
||||
]);
|
||||
|
||||
DB::table('srp_ship_types')->insert([
|
||||
'code' => 'T2F',
|
||||
'description' => 'T2 Frigate',
|
||||
]);
|
||||
|
||||
DB::table('srp_ship_types')->insert([
|
||||
'code' => 'T3D',
|
||||
'description' => 'T3 Destroyer',
|
||||
]);
|
||||
|
||||
DB::table('srp_ship_types')->insert([
|
||||
'code' => 'T1T2Logi',
|
||||
'description' => 'T1 & T2 Logistics',
|
||||
]);
|
||||
|
||||
DB::table('srp_ship_types')->insert([
|
||||
'code' => 'RI',
|
||||
'description' => 'Recons / Interdictors',
|
||||
]);
|
||||
|
||||
DB::table('srp_ship_types')->insert([
|
||||
'code' => 'T2C',
|
||||
'description' => 'T2 Cruiser',
|
||||
]);
|
||||
|
||||
DB::table('srp_ship_types')->insert([
|
||||
'code' => 'T3C',
|
||||
'description' => 'T3 Cruiser',
|
||||
]);
|
||||
|
||||
DB::table('srp_ship_types')->insert([
|
||||
'code' => 'COM',
|
||||
'description' => 'Command Ship',
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user