mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-08-22 13:54:07 +00:00
contract template obligation dependency api
This commit is contained in:
+2
-2
@@ -19,8 +19,8 @@ class CreateContractTemplateObligationDependenciesTable extends Migration
|
||||
$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
|
||||
$table->bigInteger('contract_template_obligation_id')->unsigned()->nullable();
|
||||
$table->foreign('contract_template_obligation_id', 'ctod_cto_id')->references('id')->on('contract_template_obligations')->onDelete('cascade');
|
||||
$table->bigInteger('depend_template_contract_obligation_id')->unsigned()->nullable();
|
||||
$table->foreign('depend_template_contract_obligation_id', 'dctod_cto_id')->references('id')->on('contract_template_obligations')->onDelete('cascade');
|
||||
$table->bigInteger('depend_contract_template_obligation_id')->unsigned()->nullable();
|
||||
$table->foreign('depend_contract_template_obligation_id', 'ctod_dcto_id')->references('id')->on('contract_template_obligations')->onDelete('cascade');
|
||||
$table->integer('status')->nullable()->default(1);
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user