appand new position for 3 position in harim and need dependency

This commit is contained in:
2025-11-08 16:34:32 +03:30
parent 143b5c1542
commit a619efb123
17 changed files with 373 additions and 27 deletions

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('harims', function (Blueprint $table) {
$table->decimal('traffic',total: 3,places: 1)->nullable();
$table->decimal('road_type', total: 3,places: 1)->nullable();
$table->decimal('position', total: 3,places: 1)->nullable();
$table->decimal('final_area_space')->nullable();
$table->decimal('forbidden_area_space')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('harims', function (Blueprint $table) {
$table->dropColumn('traffic', 'road_type', 'position');
});
}
};