Fix Migration
This commit is contained in:
@@ -20,7 +20,14 @@ return new class extends Migration
|
|||||||
$table->string('type');
|
$table->string('type');
|
||||||
$table->string('token');
|
$table->string('token');
|
||||||
$table->string('status');
|
$table->string('status');
|
||||||
|
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
|
$table->softDeletes();
|
||||||
|
$table->unsignedBigInteger('created_by')->nullable()->index();
|
||||||
|
$table->unsignedBigInteger('updated_by')->nullable()->index();
|
||||||
|
$table->unsignedBigInteger('deleted_by')->nullable()->index();
|
||||||
|
|
||||||
|
$table->index('token');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,8 +26,6 @@ return new class extends Migration
|
|||||||
$table->unsignedBigInteger('created_by')->nullable()->index();
|
$table->unsignedBigInteger('created_by')->nullable()->index();
|
||||||
$table->unsignedBigInteger('updated_by')->nullable()->index();
|
$table->unsignedBigInteger('updated_by')->nullable()->index();
|
||||||
$table->unsignedBigInteger('deleted_by')->nullable()->index();
|
$table->unsignedBigInteger('deleted_by')->nullable()->index();
|
||||||
|
|
||||||
$table->index('token');
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user