payment_setting

This commit is contained in:
Moe Su
2017-06-08 17:57:29 +06:30
parent b57e24c076
commit 74b0550c30
46 changed files with 960 additions and 22 deletions

View File

@@ -1,10 +0,0 @@
class CreateAccounts < ActiveRecord::Migration[5.1]
def change
create_table :accounts do |t|
t.string :title
t.string :account_type
t.timestamps
end
end
end

View File

@@ -1,4 +1,5 @@
class AddCompanyAddressEmail < ActiveRecord::Migration[5.1]
def change
add_column :order_items, :completed_by, :string
end
end

View File

@@ -1,6 +0,0 @@
class OrderItemsCompletedBy < ActiveRecord::Migration[5.1]
def change
add_column :order_items, :completed_by, :string
add_column :order_items, :completed_at, :datetime
end
end

View File

@@ -0,0 +1,16 @@
class CreateSettingsMembershipActions < ActiveRecord::Migration[5.1]
def change
create_table :settings_membership_actions do |t|
t.string :membership_type
t.boolean :is_active
t.string :gateway_communication_type
t.string :gateway_url
t.string :auth_token
t.string :merchant_account_id
t.string :created_by
t.string :additional_parameter
t.timestamps
end
end
end

View File

@@ -0,0 +1,5 @@
class Additionparametertopaymentsettings < ActiveRecord::Migration[5.1]
def change
add_column :payment_method_settings, :additional_parameters, :string
end
end