We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eef400 commit 4050c94Copy full SHA for 4050c94
database/migrations/2019_03_35_000001_create_logger_tables.php
@@ -132,11 +132,11 @@ public function up(): void
132
public function down(): void
133
{
134
Schema::disableForeignKeyConstraints();
135
- Schema::drop('audit_changes');
136
- Schema::drop('audit_routes');
137
- Schema::drop('audit_keys');
138
- Schema::drop('audit_models');
139
- Schema::drop('audit_activities');
+ Schema::dropIfExists('audit_models');
+ Schema::dropIfExists('audit_changes');
+ Schema::dropIfExists('audit_activities');
+ Schema::dropIfExists('audit_routes');
+ Schema::dropIfExists('audit_keys');
140
Schema::enableForeignKeyConstraints();
141
}
142
0 commit comments