Sha256: c10db898e96d6e464d317cb56b650e818afb136f97197c35b3691bc9af622119
Contents?: true
Size: 250 Bytes
Versions: 2
Compression:
Stored size: 250 Bytes
Contents
class AddLocaleToUser < ActiveRecord::Migration def self.up add_column :users, :locale, :string load(Rails.root.join('db', 'seeds', 'refinerycms_admin_locales.rb').to_s) end def self.down remove_column :users, :locale end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-admin-locales-1.0.1 | db/migrate/1_add_locale_to_user.rb |
refinerycms-admin-locales-1.0.0 | db/migrate/1_add_locale_to_user.rb |