User company addded

This commit is contained in:
2024-11-09 18:49:54 +05:00
parent 95c6d5746b
commit a566b7ac61
8 changed files with 175 additions and 10 deletions

View File

@@ -20,6 +20,9 @@ return new class extends Migration
->nullable()
->comment('types: tel, hk, hj');
$table->string('name')
->index();
$table->string('ssb')
->nullable()
->comment('Şahsy salgyt belgisi');
@@ -30,6 +33,8 @@ return new class extends Migration
$table->foreignId('bank_id')->nullable()->constrained('banks')->nullOnDelete();
$table->foreignId('user_id')->nullable()->constrained('users')->nullOnDelete();
$table->boolean('default')->default(false);
$table->timestamps();
});
}