20180603194914_rename_armenian_locale_key.rb 247 Bytes
Newer Older
Jonne Haß's avatar
Jonne Haß committed
1 2 3 4 5 6 7 8 9 10 11
# frozen_string_literal: true

class RenameArmenianLocaleKey < ActiveRecord::Migration[5.1]
  def up
    User.where(language: "hy").update_all(language: "hye")
  end

  def down
    User.where(language: "hye").update_all(language: "hy")
  end
end