Noosfero/noosfero

View on GitHub
plugins/delivery/db/migrate/20130719132252_create_delivery_plugin_tables.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method up has 29 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? :delivery_plugin_methods

    create_table :delivery_plugin_methods do |t|

    There are no issues that match your filters.

    Category
    Status