Update Member Import

This commit is contained in:
2022-07-25 10:20:35 +07:00
parent 42e4129a79
commit 1edd8157c7
71 changed files with 1917 additions and 2743 deletions

View File

@@ -20,6 +20,7 @@ return new class extends Migration
$table->text('welcome_message')->nullable();
$table->text('help_text')->nullable();
$table->boolean('active')->default(true);
$table->json('linking_rules')->nullable();
$table->timestamps();
$table->softDeletes();

View File

@@ -16,14 +16,15 @@ return new class extends Migration
Schema::create('corporate_policies', function (Blueprint $table) {
$table->id();
$table->string('corporate_id');
$table->string('policy_id')->unique();
$table->decimal('total_premi', 15, 2)->nullable();
$table->decimal('minimal_deposit_percentage', 15, 2)->nullable();
$table->decimal('minimal_deposit_net', 15, 2)->nullable();
$table->decimal('minimal_alert_percentage', 7, 4)->nullable();
$table->decimal('minimal_alert_net', 15, 2)->nullable();
$table->decimal('minimal_stop_service_percentage', 7, 4)->nullable();
$table->decimal('minimal_stop_service_net', 15, 2)->nullable();
$table->string('code')->index();
// $table->string('policy_id')->index();
$table->string('total_premi', 30)->nullable();
$table->string('minimal_deposit_percentage', 30)->nullable();
$table->string('minimal_deposit_net', 30)->nullable();
$table->string('minimal_alert_percentage', 30)->nullable();
$table->string('minimal_alert_net', 30)->nullable();
$table->string('minimal_stop_service_percentage', 30)->nullable();
$table->string('minimal_stop_service_net', 30)->nullable();
$table->date('start')->nullable();
$table->date('end')->nullable();
$table->boolean('active')->default(false);