]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20101114011429_add_editor_preference_to_user.rb
Ah, that doesn't work due to 'bugs' in the way layouts work - only the last command...
[rails.git] / db / migrate / 20101114011429_add_editor_preference_to_user.rb
1 class AddEditorPreferenceToUser < ActiveRecord::Migration
2   def self.up
3     add_column :users, :preferred_editor, :string
4   end
5
6   def self.down
7     remove_column :users, :preferred_editor
8   end
9 end