Noosfero/noosfero

View on GitHub
plugins/orders/db/migrate/20130719132245_create_orders_plugin_tables.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

    There are no issues that match your filters.

    Category
    Status