Files
Dena/db/migrate/20180808144704_change_wallet_structure.rb
2026-08-13 19:50:53 +03:30

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