8 lines
282 B
Ruby
8 lines
282 B
Ruby
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
|