fix migration create wakil surat

This commit is contained in:
Amirah
2024-02-20 08:22:48 +08:00
parent c809fa54db
commit b2821f3c91
@@ -63,6 +63,11 @@ class CreateWakilSuratToDbcawanganTable extends Migration
*/
public function down()
{
Schema::dropIfExists('wakil_surat');
$db_connection = $this->getActiveDB();
foreach($db_connection as $dbase){
Schema::connection($dbase)->dropIfExists('wakil_surat');
};
}
}