Model and Migration files
This commit is contained in:
@@ -10,11 +10,11 @@ return new class extends Migration {
|
||||
$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('farmer_id')->nullable();
|
||||
$table->text('land_description')->nullable(); // Deskripsi kondisi lahan saat panen
|
||||
$table->date('harvest_date');
|
||||
$table->text('notes')->nullable();
|
||||
$table->unsignedBigInteger('lahan_id')->nullable();
|
||||
$table->unsignedBigInteger('petani_id')->nullable();
|
||||
$table->text('deskripsi')->nullable(); // Deskripsi kondisi lahan saat panen
|
||||
$table->date('tgl_panen');
|
||||
$table->text('catatan')->nullable();
|
||||
$table->string('sync_status')->default('pending');
|
||||
|
||||
// Audit Columns
|
||||
|
||||
Reference in New Issue
Block a user