Panen and include all support
This commit is contained in:
@@ -8,11 +8,11 @@ return new class extends Migration {
|
||||
public function up(): void {
|
||||
Schema::create('map_panen', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('uid')->unique()->nullable(); // Bagus untuk sinkronisasi Dexie offline
|
||||
$table->string('title'); // Judul aktivitas panen
|
||||
$table->unsignedBigInteger('land_id')->nullable();
|
||||
$table->unsignedBigInteger('plant_id')->nullable();
|
||||
$table->unsignedBigInteger('farmer_id')->nullable();
|
||||
$table->string('commodity_name');
|
||||
$table->double('weight_kg')->default(0);
|
||||
$table->text('land_description')->nullable(); // Deskripsi kondisi lahan saat panen
|
||||
$table->date('harvest_date');
|
||||
$table->text('notes')->nullable();
|
||||
$table->string('sync_status')->default('pending');
|
||||
|
||||
Reference in New Issue
Block a user