about summary refs log tree commit diff stats
path: root/db/migrate/20170703013609_convert_to_real_unicode.rb
blob: 9291c0c9880d561358f18a1f7163288d333a9937 (plain) (blame)
1
2
3
4
5
6
7
8
class ConvertToRealUnicode < ActiveRecord::Migration[5.1]
  def change
    change_column :records, :recordable_type, :string, limit: 191
    change_column :users, :login, :string, default: "", null: false, limit: 191
    change_column :users, :email, :string, default: "", null: false, limit: 191
    change_column :users, :reset_password_token, :string, limit: 191
  end
end