Fix Unused Migration
This commit is contained in:
@@ -15,8 +15,8 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('member_plans', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('member_id');
|
||||
$table->string('plan_id');
|
||||
$table->string('member_id')->index();
|
||||
$table->string('plan_id')->index();
|
||||
$table->string('status')->default('active');
|
||||
$table->dateTime('start')->nullable();
|
||||
$table->dateTime('end')->nullalbe();
|
||||
@@ -28,7 +28,7 @@ return new class extends Migration
|
||||
$table->unsignedBigInteger('updated_by')->nullable();
|
||||
$table->unsignedBigInteger('deleted_by')->nullable();
|
||||
|
||||
$table->index(['policy_id', 'member_id']);
|
||||
$table->index(['member_id', 'plan_id']);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user