9 lines
199 B
Ruby
9 lines
199 B
Ruby
class AddEditorPreferenceToUser < ActiveRecord::Migration
|
|
def self.up
|
|
add_column :users, :preferred_editor, :string
|
|
end
|
|
|
|
def self.down
|
|
remove_column :users, :preferred_editor
|
|
end
|
|
end
|