create loantype seeder

This commit is contained in:
2023-11-24 17:58:50 +05:00
parent 07f4429074
commit 35c6e580ca
11 changed files with 3162 additions and 73 deletions

View File

@@ -26,7 +26,7 @@ return new class extends Migration
$table->string('passport_address');
$table->string('real_address');
$table->string('passport_serie')->index();
$table->integer('passport_id')->index();
$table->date('passport_given_at');
@@ -50,11 +50,11 @@ return new class extends Migration
$table->string('education');
$table->string('marriage_status');
$table->text('passport_one');
$table->text('passport_two');
$table->text('passport_two');
$table->text('passport_three');
$table->text('passport_four');
$table->text('passport_four');
$table->foreignId('filled_by')->constrained('users')->restrictOnDelete();
$table->foreignId('user_id')->constrained('users')->restrictOnDelete();