]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20101114011429_add_editor_preference_to_user.rb
Initial work on support for multiple editors
[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