Update Handle Multi Sheet Plan & Benefit

This commit is contained in:
2022-07-27 11:04:44 +07:00
parent afc574d501
commit dd97ba2e25
8 changed files with 355 additions and 25 deletions

View File

@@ -16,6 +16,7 @@ return new class extends Migration
Schema::create('plans', function (Blueprint $table) {
$table->id();
$table->string('service_code')->index();
$table->string('corporate_id')->index();
$table->string('corporate_plan_id')->index();
$table->string('code')->index();
$table->string('type')->nullable();
@@ -70,6 +71,8 @@ return new class extends Migration
$table->foreignId('created_by')->nullable()->index();
$table->foreignId('updated_by')->nullable()->index();
$table->foreignId('deleted_by')->nullable()->index();
$table->index(['corporate_id', 'code']);
});
}