migration

This commit is contained in:
2021-02-15 19:08:43 +09:00
parent 99d5ef9220
commit 05db82f3cb
2 changed files with 2 additions and 19 deletions

View File

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