debug code
This commit is contained in:
@@ -48,8 +48,8 @@ class HarimFactory extends Factory
|
||||
'plan_group' => $this->faker->name,
|
||||
'plan_title' => $this->faker->title,
|
||||
'address' => $this->faker->address,
|
||||
'file' => $this->faker->file,
|
||||
'polygon' => $this->faker->numerify(),
|
||||
'file' => $this->faker->name,
|
||||
'polygon' => json_encode($this->faker->numerify()),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,10 @@ return new class extends Migration
|
||||
$table->string('plan_title');
|
||||
$table->string('address');
|
||||
$table->string('file');
|
||||
$table->polygon('polygon');
|
||||
$table->json('polygon');
|
||||
$table->boolean('need_road_access')->nullable();
|
||||
$table->integer('final_decision')->nullable();
|
||||
$table->string('final_description')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ class HarimStateSeeder extends Seeder
|
||||
['id' => 2, 'name' => 'در انتظار بررسی ایمنی راه توسط دفتر حریم', 'created_at' => now(), 'updated_at' => now(),],
|
||||
['id' => 3, 'name' => 'در انتظار بررسی ایمنی راه توسط معاون', 'created_at' => now(), 'updated_at' => now(),],
|
||||
['id' => 4, 'name' => 'در انتظار بررسی ایمنی راه توسط مدیر کل', 'created_at' => now(), 'updated_at' => now(),],
|
||||
['id' => 5, 'name' => 'رد به دلیل ایمنی راه', 'created_at' => now(), 'updated_at' => now(),],
|
||||
['id' => 5, 'name' => 'ارسال به پنجره واحد', 'created_at' => now(), 'updated_at' => now(),],
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user