create factory and seeder for fake data

This commit is contained in:
2025-07-23 08:46:21 +03:30
parent 0b543ac1f0
commit ca89fe0371
13 changed files with 27 additions and 5 deletions

View File

@@ -14,6 +14,7 @@ return new class extends Migration
Schema::create('country_calls_reports', function (Blueprint $table) {
$table->id();
$table->foreignId('province_id')->constrained('provinces');
$table->string('province_name');
$table->date('date');
$table->integer('total');
$table->integer('route_to_teh4');

View File

@@ -14,6 +14,7 @@ return new class extends Migration
Schema::create('country_keypress_reports', function (Blueprint $table) {
$table->id();
$table->foreignId('province_id')->constrained('provinces');
$table->string('province_name');
$table->date('date');
$table->integer('total');
$table->integer('key1');

View File

@@ -14,6 +14,7 @@ return new class extends Migration
Schema::create('country_voice_rating_reports', function (Blueprint $table) {
$table->id();
$table->foreignId('province_id')->constrained('provinces');
$table->string('province_name');
$table->date('date');
$table->integer('voice_quality_ok');
$table->integer('message_quality_ok');

View File

@@ -14,6 +14,7 @@ return new class extends Migration
Schema::create('country_message_rating_reports', function (Blueprint $table) {
$table->id();
$table->foreignId('province_id')->constrained('provinces');
$table->string('province_name');
$table->date('date');
$table->integer('very_good');
$table->integer('good');