plugins/orders/db/migrate/20130719132245_create_orders_plugin_tables.rb
Method up
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.up
# check if distribution plugin already moved tables
return if ApplicationRecord.connection.table_exists? :orders_plugin_orders
create_table :orders_plugin_orders do |t|