mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Conditionally drop table
This commit is contained in:
parent
aec64fa64a
commit
b5ea8b8a4f
|
@ -44,6 +44,7 @@ class MigrationCartalystSentryInstallGroups extends Migration
|
||||||
*/
|
*/
|
||||||
public function down()
|
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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue