forms
This commit is contained in:
@@ -17,6 +17,7 @@ class CreateSolarSystemsTable extends Migration
|
||||
Schema::create('solar_systems', function (Blueprint $table) {
|
||||
$table->string('name');
|
||||
$table->string('solar_system_id')->unique();
|
||||
$table->float('security_status', 3, 2);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,6 +39,7 @@ class SolarSystemSeeder extends Seeder
|
||||
SolarSystem::insert([
|
||||
'name' => $info->name,
|
||||
'solar_system_id' => $system,
|
||||
'security_status' => $info->security_status,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user