beast rev 2066
[beast-modified.git] / db / migrate / 018_add_contact_fields.rb
blob55bdb1a70ae933a993f5ff3fe358461fd5ca67d1
1 class AddContactFields < ActiveRecord::Migration
2   def self.up
3     # to facilite better communication
4     add_column "users", "aim", :string
5     add_column "users", "yahoo", :string
6     add_column "users", "google_talk", :string
7     add_column "users", "msn", :string
8     add_column "users", "website", :string
9   end
11   def self.down
12     remove_column "users", "aim"
13     remove_column "users", "yahoo"
14     remove_column "users", "google_talk"
15     remove_column "users", "msn"
16     remove_column "users", "website"
17   end
18 end