diff options
Diffstat (limited to 'db/migrate/102_add_locale_to_users.rb')
-rw-r--r-- | db/migrate/102_add_locale_to_users.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/102_add_locale_to_users.rb b/db/migrate/102_add_locale_to_users.rb new file mode 100644 index 000000000..a299a8561 --- /dev/null +++ b/db/migrate/102_add_locale_to_users.rb @@ -0,0 +1,11 @@ +class AddLocaleToUsers < ActiveRecord::Migration + def self.up + add_column :users, :locale, :string + end + def self.down + remove_column :users, :locale + end +end + + + |