update
This commit is contained in:
@@ -19,6 +19,11 @@ return new class extends Migration
|
||||
$table->string('pengambilan', 255)->nullable()->after('diagnosa2');
|
||||
}
|
||||
});
|
||||
Schema::table('pertumkolomni', function (Blueprint $table) {
|
||||
if (!Schema::hasColumn('pertumkolomni', 'keterangan')) {
|
||||
$table->text('keterangan')->nullable()->after('tindaklanjut');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
@@ -34,5 +39,10 @@ return new class extends Migration
|
||||
$table->dropColumn('pengambilan');
|
||||
}
|
||||
});
|
||||
Schema::table('pertumkolomni', function (Blueprint $table) {
|
||||
if (Schema::hasColumn('pertumkolomni', 'keterangan')) {
|
||||
$table->dropColumn('keterangan');
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user