plugins/orders_cycle/db/migrate/20130909175738_create_orders_cycle_plugin_tables.rb
Method change
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def change
# check if distribution plugin already moved the table
return if ApplicationRecord.connection.table_exists? :orders_cycle_plugin_cycles
create_table :orders_cycle_plugin_cycle_orders do |t|