Skip to content

Commit

Permalink
fix down method in new migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer committed Mar 23, 2020
1 parent ae276ea commit e0b6249
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion migrations/add_event_column_to_activity_log_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class AddEventColumnToActivityLogTable extends Migration
*/
public function down()
{
Schema::connection(config('activitylog.database_connection'))->dropIfExists(config('activitylog.table_name'));
Schema::connection(config('activitylog.database_connection'))->table(config('activitylog.table_name'), function (Blueprint $table) {
$table->dropColumn('event');
});
}
}

0 comments on commit e0b6249

Please sign in to comment.