Lots of changes
This commit is contained in:
@@ -15,7 +15,7 @@ public function up(): void
|
||||
$table->id();
|
||||
$table->string('name',50);
|
||||
$table->string('description',125)->nullable();
|
||||
$table->unsignedTinyInteger('deleted')->default(0);
|
||||
$table->softDeletes();
|
||||
$table->timestamps();
|
||||
|
||||
});
|
||||
@@ -27,11 +27,10 @@ public function up(): void
|
||||
$table->date('start_date');
|
||||
$table->date('end_date')->nullable();
|
||||
$table->string('description', 255)->nullable();
|
||||
$table->foreignIdFor(\App\Models\Person\Person::class, 'client_id');
|
||||
$table->foreignIdFor(\App\Models\Person\Person::class, 'debtor_id');
|
||||
$table->foreignIdFor(\App\Models\ClientCase::class);
|
||||
$table->foreignId('type_id')->references('id')->on('contract_types');
|
||||
$table->unsignedTinyInteger('active')->default(1);
|
||||
$table->unsignedTinyInteger('deleted')->default(0);
|
||||
$table->softDeletes();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user