15 lines
478 B
Ruby
Executable File
15 lines
478 B
Ruby
Executable File
class CreatePaymentMethodSettings < ActiveRecord::Migration[5.1]
|
|
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.json :additional_parameters
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|