Project

General

Profile

Download (356 Bytes) Statistics
| Branch: | Tag: | Revision:
class AddMyTaxonomyToUser < ActiveRecord::Migration
def self.up
add_column :users, :organizations_andor, :string, :limit => 3, :default => "or"
add_column :users, :locations_andor, :string, :limit => 3, :default => "or"
end

def self.down
remove_column :users, :organizations_andor
remove_column :users, :locations_andor
end
end
(137-137/137)