Fix Member Import
This commit is contained in:
@@ -31,6 +31,29 @@ return new class extends Migration
|
||||
$table->string('principal_id')->nullable()->index();
|
||||
$table->string('relation_with_principal')->nullable();
|
||||
$table->string('bpjs_class')->nullable();
|
||||
|
||||
$table->string('nric')->nullable();
|
||||
$table->string('email')->nullable();
|
||||
$table->string('bank_info')->nullable();
|
||||
$table->string('agent_code')->nullable();
|
||||
$table->text('address1')->nullable();
|
||||
$table->text('address2')->nullable();
|
||||
$table->text('address3')->nullable();
|
||||
$table->text('address4')->nullable();
|
||||
$table->string('city')->nullable();
|
||||
$table->string('state')->nullable();
|
||||
$table->string('postal_code')->nullable();
|
||||
$table->string('passport_no')->nullable();
|
||||
$table->string('passport_country')->nullable();
|
||||
$table->string('identification_code')->nullable();
|
||||
$table->string('pre_existing')->nullable();
|
||||
$table->string('bpjs_id')->nullable();
|
||||
$table->string('endorsement_date')->nullable();
|
||||
$table->string('remarks')->nullable();
|
||||
$table->string('policy_in_force')->nullable();
|
||||
$table->string('start_no_claim')->nullable();
|
||||
$table->string('end_no_claim')->nullable();
|
||||
|
||||
$table->boolean('active')->default(true);
|
||||
|
||||
$table->timestamps();
|
||||
|
||||
@@ -21,6 +21,9 @@ return new class extends Migration
|
||||
$table->foreignId('division_id')->nullable()->index();
|
||||
$table->string('nik')->nullable()->index();
|
||||
$table->string('status')->nullable();
|
||||
|
||||
$table->date('start')->nullable();
|
||||
$table->date('end')->nullable();
|
||||
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
|
||||
@@ -18,7 +18,7 @@ class DatabaseSeeder extends Seeder
|
||||
|
||||
$this->call([
|
||||
DummyMemberSeeder::class,
|
||||
DummyCorprateSeeder::class
|
||||
DummyCorporateSeeder::class
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user