migration

This commit is contained in:
2021-02-15 19:12:02 +09:00
parent eaa56c31b6
commit b94e39b53c
2 changed files with 2 additions and 2 deletions

View File

@@ -15,8 +15,7 @@ class CreateAllianceJournalTable extends Migration
{
if(!Schema::hasTable('alliance_wallet_journal')) {
Schema::create('alliance_wallet_journal', function (Blueprint $table) {
$table->unsignedBigInteger('row')->increments();
$table->unsignedBigInteger('id')->unique()->default(-1);
$table->unsignedBigInteger('id')->unique();
$table->unsignedBigInteger('corporation_id');
$table->unsignedInteger('division');
$table->decimal('amount', 20, 2)->nullable();