Initial commit
This commit is contained in:
7
db/migrate/20180808144704_change_wallet_structure.rb
Normal file
7
db/migrate/20180808144704_change_wallet_structure.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class ChangeWalletStructure < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
change_column :wallets, :gateway, :string, limit: 20, default: '', null: false
|
||||
add_column :wallets, :settings, :string,
|
||||
limit: 1000, default: '{}', null: false, after: :gateway
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user