diff --git a/app/models/object_manager/attribute.rb b/app/models/object_manager/attribute.rb index cd1d44c54..76242e1c8 100644 --- a/app/models/object_manager/attribute.rb +++ b/app/models/object_manager/attribute.rb @@ -378,8 +378,8 @@ returns if model.column_names.include?(attribute.name) ActiveRecord::Migration.remove_column model.table_name, attribute.name model.reset_column_information - execute_count += 1 end + execute_count += 1 attribute.destroy next end