[WIP] CarePlan
This commit is contained in:
@@ -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');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user