table cleanup again

This commit is contained in:
2021-01-11 01:12:20 +09:00
parent 20a0aecee1
commit 451119c743
5 changed files with 15 additions and 30 deletions

View File

@@ -111,5 +111,7 @@ class CreateBuyPublicContractsTable extends Migration
Schema::dropIfExists('market_groups');
Schema::dropIfExists('market_prices');
Schema::dropIfExists('market_region_orders');
Schema::dropIfExists('alliance_wormholes');
Schema::dropIfExists('wormhole_types');
}
}

View File

@@ -14,7 +14,7 @@ class ModifyAllianceMoonRentalInvoicesTable extends Migration
public function up()
{
Schema::table('alliance_moon_rental_invoices', function (Blueprint $table) {
$table->bigInteger('invoice_id');
$table->bigInteger('invoice_id')->nullable();
});
}

View File

@@ -1,10 +1,10 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class RemoveWormholeTable extends Migration
class RemoveContractTable extends Migration
{
/**
* Run the migrations.
@@ -13,8 +13,11 @@ class RemoveWormholeTable extends Migration
*/
public function up()
{
Schema::dropIfExists('alliance_wormholes');
Schema::dropIfExists('wormhole_types');
Schema::dropIfExists('public_contracts');
Schema::dropIfExists('public_contract_items');
Schema::dropIfExists('market_groups');
Schema::dropIfExists('market_prices');
Schema::dropIfExists('market_region_orders');
}
/**