Merge pull request #14 from witelgroup/feature/Rahdarkhane

add area to history
This commit is contained in:
Amir Ghasempoor
2025-09-07 08:42:58 +03:30
committed by GitHub
5 changed files with 44 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
<?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('rahdari_point_histories', function (Blueprint $table) {
$table->json('area')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('rahdari_point_histories', function (Blueprint $table) {
$table->dropColumn('area');
});
}
};