Noosfero/noosfero

View on GitHub
plugins/orders_cycle/db/migrate/20130909175738_create_orders_cycle_plugin_tables.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method change has 28 lines of code (exceeds 25 allowed). Consider refactoring.
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|

    There are no issues that match your filters.

    Category
    Status