From 2b6a7860174db648cfc15be57a8147c362fbeaaa Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 12 Oct 2019 22:32:58 -0500 Subject: [PATCH] migration --- ..._13_025833_create_station_lookup_table.php | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/database/migrations/2019_10_13_025833_create_station_lookup_table.php b/database/migrations/2019_10_13_025833_create_station_lookup_table.php index ab012c8..9bc125a 100644 --- a/database/migrations/2019_10_13_025833_create_station_lookup_table.php +++ b/database/migrations/2019_10_13_025833_create_station_lookup_table.php @@ -16,20 +16,20 @@ class CreateStationLookupTable extends Migration if(!Schema::hasTable('station_lookup')) { Schema::create('station_lookup', function (Blueprint $table) { $table->bigIncrements('id'); - $table->float('max_dockable_ship_volume'); + $table->unsignedBigInteger('max_dockable_ship_volume'); $table->string('name'); - $table->float('office_rental_cost'); + $table->bigInteger('office_rental_cost'); $table->bigInteger('owner')->nullable(); - $table->double('position_x'); - $table->double('position_y'); - $table->double('position_z'); - $table->bigInteger('race_id')->nullable(); - $table->float('reprocessing_efficiency'); - $table->float('reprocessing_stations_take'); + $table->bigInteger('position_x'); + $table->bigInteger('position_y'); + $table->bigInteger('position_z'); + $table->unsignedBigInteger('race_id')->nullable(); + $table->decimal('reprocessing_efficiency'); + $table->decimal('reprocessing_stations_take'); $table->string('services'); - $table->bigInteger('station_id'); - $table->bigInteger('system_id'); - $table->bigInteger('type_id'); + $table->unsignedBigInteger('station_id'); + $table->unsignedBigInteger('system_id'); + $table->unsignedBigInteger('type_id'); $table->timestamps(); }); }