Conditionally drop table

This commit is contained in:
Marcus Moore 2023-01-10 17:29:38 -08:00
parent aec64fa64a
commit b5ea8b8a4f
No known key found for this signature in database

View file

@ -44,6 +44,7 @@ class MigrationCartalystSentryInstallGroups extends Migration
*/
public function down()
{
Schema::drop('permission_groups');
// See 2014_11_04_231416_update_group_field_for_reporting.php and 2019_06_12_184327_rename_groups_table.php
Schema::dropIfExists('permission_groups');
}
}