]> git.openstreetmap.org Git - rails.git/blob - db/migrate/032_add_user_locale.rb
use a controller method to handle cancan denials
[rails.git] / db / migrate / 032_add_user_locale.rb
1 class AddUserLocale < ActiveRecord::Migration[5.0]
2   def self.up
3     add_column "users", "locale", :string
4   end
5
6   def self.down
7     remove_column "users", "locale"
8   end
9 end