Model and Migration files

This commit is contained in:
2026-06-25 11:07:59 +07:00
parent aecca02269
commit 7d40bcfb53
13 changed files with 119 additions and 40 deletions
@@ -11,13 +11,14 @@ return new class extends Migration {
$table->unsignedBigInteger('tanaman_id')->nullable();
$table->unsignedBigInteger('lahan_id')->nullable();
$table->unsignedBigInteger('petani_id')->nullable();
$table->date('inspection_date')->nullable();
$table->string('health_status')->nullable();
$table->string('productivity_status')->nullable();
$table->string('issue_type')->nullable();
$table->text('issue_description')->nullable();
$table->text('recommendation')->nullable();
$table->text('notes')->nullable();
$table->string('tanaman_uid');
$table->date('tgl_inspeksi')->nullable();
$table->string('status_tanaman')->nullable();
$table->string('produktifitas')->nullable();
$table->string('masalah')->nullable();
$table->text('deskripsi')->nullable();
$table->text('tindakan')->nullable();
$table->text('catatan')->nullable();
$table->string('sync_status')->default('pending');
// Audit Columns