]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20101114011429_add_editor_preference_to_user.rb
Use rails 4.2 defaults for older migrations
[rails.git] / db / migrate / 20101114011429_add_editor_preference_to_user.rb
1 class AddEditorPreferenceToUser < ActiveRecord::Migration[4.2]
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