appirits/comable

View on GitHub
core/db/migrate/20140817194104_create_comable_payment_methods.rb

Summary

Maintainability
A
50 mins
Test Coverage
class CreateComablePaymentMethods < ActiveRecord::Migration
  def change
    create_table :comable_payment_methods do |t|
      t.string :name, null: false
      t.string :payment_provider_type, null: false
      t.integer :payment_provider_kind, null: false
      t.integer :fee, null: false
      t.integer :enable_price_from
      t.integer :enable_price_to
      t.timestamps null: false
    end
  end
end