hyoshida/comable

View on GitHub
core/db/migrate/20150823073809_change_comable_products_and_comable_stocks.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method change has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def change
    reversible do |dir|
      change_table :comable_stocks do |t|
        dir.up   { t.references :variant }
        dir.down { t.remove :variant_id }

    There are no issues that match your filters.

    Category
    Status