foto lahan
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user