Sha256: d4b8b77b474369bbb4c0ed31129caf399f1d4b6970dda227ed7d5bbb3f20a2cc
Contents?: true
Size: 250 Bytes
Versions: 9
Compression:
Stored size: 250 Bytes
Contents
class AddLocaleToAlchemyLanguages < ActiveRecord::Migration[4.2] def change add_column :alchemy_languages, :locale, :string execute \ "UPDATE #{Alchemy::Language.table_name} SET locale = language_code WHERE locale IS NULL;" end end
Version data entries
9 entries across 9 versions & 1 rubygems