|
class AddMyTaxonomyToUser < ActiveRecord::Migration[4.2]
|
|
def up
|
|
add_column :users, :organizations_andor, :string, :limit => 3, :default => "or"
|
|
add_column :users, :locations_andor, :string, :limit => 3, :default => "or"
|
|
end
|
|
|
|
def down
|
|
remove_column :users, :organizations_andor
|
|
remove_column :users, :locations_andor
|
|
end
|
|
end
|