[WIP] CarePlan

This commit is contained in:
2022-07-13 16:35:01 +07:00
parent 4e99ba5109
commit 718850488f
29 changed files with 304 additions and 325 deletions

View File

@@ -18,12 +18,16 @@ return new class extends Migration
$table->foreignId('corporate_id')->nullable()->index();
$table->string('code')->index();
$table->string('name')->nullable();
$table->text('description')->nullable();
$table->boolean('active')->default(true);
$table->timestamps();
$table->softDeletes();
$table->foreignId('created_by')->nullable()->index();
$table->foreignId('updated_by')->nullable()->index();
$table->foreignId('deleted_by')->nullable()->index();
$table->unique(["corporate_id", "code"], 'corporate_plans_unique');
});
}