Files
sx-fc/db/migrate/20170403153001_create_payment_method_settings.rb
2017-04-03 22:30:27 +06:30

15 lines
443 B
Ruby

class CreatePaymentMethodSettings < ActiveRecord::Migration[5.0]
def change
create_table :payment_method_settings do |t|
t.string :payment_method, :null => false
t.boolean :is_active, :null => false, :default => false
t.string :gateway_communication_type, :null => false, :default => "api"
t.string :gateway_url
t.string :auth_token
t.string :merchant_account_id
t.timestamps
end
end
end