Merged in api-laporan-ujrah (pull request #119)
fix migration create wakil surat
This commit is contained in:
@@ -63,6 +63,11 @@ class CreateWakilSuratToDbcawanganTable extends Migration
|
|||||||
*/
|
*/
|
||||||
public function down()
|
public function down()
|
||||||
{
|
{
|
||||||
Schema::dropIfExists('wakil_surat');
|
$db_connection = $this->getActiveDB();
|
||||||
|
|
||||||
|
foreach($db_connection as $dbase){
|
||||||
|
|
||||||
|
Schema::connection($dbase)->dropIfExists('wakil_surat');
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user