diff --git a/database/migrations/2020_05_09_171338_create_alliance_moon_rental_invoices_table.php b/database/migrations/2020_05_09_171338_create_alliance_moon_rental_invoices_table.php index b669ab308..60a5d9a99 100644 --- a/database/migrations/2020_05_09_171338_create_alliance_moon_rental_invoices_table.php +++ b/database/migrations/2020_05_09_171338_create_alliance_moon_rental_invoices_table.php @@ -15,7 +15,7 @@ class CreateAllianceMoonRentalInvoicesTable extends Migration { if(!Schema::hasTable('alliance_moon_rental_invoices')) { Schema::create('alliance_moon_rental_invoices', function (Blueprint $table) { - $table->unsignedBigIncrements('id'); + $table->bigIncrements('id'); $table->string('invoice_id')->unique(); $table->unsignedBigInteger('character_id'); $table->string('character_name'); @@ -31,7 +31,7 @@ class CreateAllianceMoonRentalInvoicesTable extends Migration if(!Schema::hasTable('alliance_moon_rental_payments')) { Schema::create('alliance_moon_rental_payments', function (Blueprint $table) { - $table->unsignedBigIncrements('id'); + $table->bigIncrements('id'); $table->string('invoice_id')->unique(); $table->decimal('payment_amount'); $table->timestamps(); diff --git a/database/migrations/2020_05_14_070638_create_buy_public_contracts_table.php b/database/migrations/2020_05_14_070638_create_buy_public_contracts_table.php index 4bb2d267c..6f06711d5 100644 --- a/database/migrations/2020_05_14_070638_create_buy_public_contracts_table.php +++ b/database/migrations/2020_05_14_070638_create_buy_public_contracts_table.php @@ -15,7 +15,7 @@ class CreateBuyPublicContractsTable extends Migration { if(!Schema::hasTable('eve_regions')) { Schema::create('eve_regions', function (Blueprint $table) { - $table->unsignedBigIncrements('id'); + $table->bigIncrements('id'); $table->unsignedBigInteger('region_id'); $table->string('region_name'); }); @@ -23,7 +23,7 @@ class CreateBuyPublicContractsTable extends Migration if(!Schema::hasTable('public_contracts')) { Schema::create('public_contracts', function(Blueprint $table) { - $table->unsignedBigIncrements('id'); + $table->bigIncrements('id'); $table->unsignedBigInteger('region_id'); $table->decimal('buyout', 17,2 )->nullable(); $table->decimal('collateral', 17, 2)->nullable(); @@ -52,7 +52,7 @@ class CreateBuyPublicContractsTable extends Migration if(!Schema::hasTable('public_contract_items')) { Schema::create('public_contract_items', function (Blueprint $table) { - $table->unsignedBigIncrements('id'); + $table->bigIncrements('id'); $table->unsignedBigInteger('contract_id'); $table->boolean('is_blueprint_copy')->nullable(); $table->boolean('is_included'); @@ -68,7 +68,7 @@ class CreateBuyPublicContractsTable extends Migration if(!Schema::hasTable('market_region_orders')) { Schema::create('market_region_orders', function (Blueprint $table) { - $table->unsignedBigIncrements('id'); + $table->bigIncrements('id'); $table->unsignedBigInteger('region_id'); $table->unsignedInteger('duration'); $table->boolean('is_buy_order');