diff --git a/database/migrations/2019_03_35_000001_create_logger_tables.php b/database/migrations/2019_03_35_000001_create_logger_tables.php index 6fa1c35..573ecaa 100644 --- a/database/migrations/2019_03_35_000001_create_logger_tables.php +++ b/database/migrations/2019_03_35_000001_create_logger_tables.php @@ -132,11 +132,11 @@ public function up(): void public function down(): void { Schema::disableForeignKeyConstraints(); - Schema::drop('audit_changes'); - Schema::drop('audit_routes'); - Schema::drop('audit_keys'); - Schema::drop('audit_models'); - Schema::drop('audit_activities'); + Schema::dropIfExists('audit_models'); + Schema::dropIfExists('audit_changes'); + Schema::dropIfExists('audit_activities'); + Schema::dropIfExists('audit_routes'); + Schema::dropIfExists('audit_keys'); Schema::enableForeignKeyConstraints(); } }