add extra reports

This commit is contained in:
2026-06-13 14:09:17 +03:30
parent 55b40eb0cc
commit a8c71de069
15 changed files with 210 additions and 85 deletions

View File

@@ -24,7 +24,7 @@ return new class extends Migration
$table->unsignedBigInteger('edare_shahri_id')->nullable();
$table->foreign('edare_shahri_id')->references('id')->on('edarate_shahri')->noActionOnDelete();
$table->string('edare_shahri_name')->nullable();
$table->json('requested_machines');
$table->json('requested_machines')->nullable();
$table->string('type');
$table->dateTime('start_date');
$table->dateTime('end_date');

View File

@@ -12,7 +12,7 @@ return new class extends Migration
public function up(): void
{
Schema::table('missions', function (Blueprint $table) {
$table->json('area');
$table->json('area')->nullable();
$table->integer('zone');
$table->string('zone_fa');
$table->string('type_fa');

View File

@@ -14,6 +14,8 @@ return new class extends Migration
Schema::table('mission_violations', function (Blueprint $table) {
$table->dateTime('exit_station')->nullable();
$table->dateTime('enter_station')->nullable();
$table->unsignedInteger('station_id')->nullable();
$table->string('station_name')->nullable();
});
}