Added: branches/dashboard/db/migrate/092_add_social_links.rb (0 => 2521)
--- branches/dashboard/db/migrate/092_add_social_links.rb (rev 0)
+++ branches/dashboard/db/migrate/092_add_social_links.rb 2010-09-27 16:31:12 UTC (rev 2521)
@@ -0,0 +1,16 @@
+class AddSocialLinks < ActiveRecord::Migration
+
+def self.up
+add_column :profiles, :facebook, :string, :default => nil
+add_column :profiles, :twitter, :string, :default => nil
+add_column :profiles, :skype, :string, :default => nil
+add_column :profiles, :linkedin, :string, :default => nil
+end
+
+def self.down
+remove_column :profiles, :facebook
+remove_column :profiles, :twitter
+remove_column :profiles, :skype
+remove_column :profiles, :linkedin
+end
+end
\ No newline at end of file