foto lahan

This commit is contained in:
2026-07-13 01:04:55 +07:00
parent c5b5721b31
commit 599269410b
4 changed files with 108 additions and 11 deletions
@@ -11,9 +11,16 @@ return new class extends Migration
*/
public function up(): void
{
Schema::table('petani', function (Blueprint $table) {
$table->foreignId('komoditas_id')->nullable()->constrained('master_komoditas')->onDelete('set null');
});
Schema::table('map_lahan', function (Blueprint $table) {
$table->json('komoditas_lain')->nullable();
$table->json('tanaman_penaung')->nullable();
$table->json('foto')->nullable();
});
}