Skip to content

Commit 4050c94

Browse files
Fix down migration in create_logger_tables (#51)
1 parent 3eef400 commit 4050c94

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

database/migrations/2019_03_35_000001_create_logger_tables.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ public function up(): void
132132
public function down(): void
133133
{
134134
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');
135+
Schema::dropIfExists('audit_models');
136+
Schema::dropIfExists('audit_changes');
137+
Schema::dropIfExists('audit_activities');
138+
Schema::dropIfExists('audit_routes');
139+
Schema::dropIfExists('audit_keys');
140140
Schema::enableForeignKeyConstraints();
141141
}
142142
}

0 commit comments

Comments
 (0)