appand new position for 3 position in harim and need dependency
This commit is contained in:
@@ -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');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user