Noosfero/noosfero

View on GitHub
plugins/tolerance_time/db/migrate/20120719090320_create_tolerance_time_plugin_tolerances.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateToleranceTimePluginTolerances < ActiveRecord::Migration[5.1]
  def self.up
    create_table :tolerance_time_plugin_tolerances do |t|
      t.references  :profile, index: { name: "index_4fDd1421" }
      t.integer     :content_tolerance
      t.integer     :comment_tolerance
    end
  end

  def self.down
    drop_table :tolerance_time_plugin_tolerances
  end
end