changeset 157:2d5da64204bc feature_55

migration with new "other_institution" column in ssamr_user_details table.
author luisf
date Wed, 26 Jan 2011 15:58:02 +0000
parents 6bd9b26ebd07
children e71a969c151a
files db/migrate/20110126153504_add_other_institution_column_to_ssamr_user_details.rb
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/db/migrate/20110126153504_add_other_institution_column_to_ssamr_user_details.rb	Wed Jan 26 15:58:02 2011 +0000
@@ -0,0 +1,9 @@
+class AddOtherInstitutionColumnToSsamrUserDetails < ActiveRecord::Migration
+  def self.up
+    add_column :ssamr_user_details, :other_institution, :string
+  end
+
+  def self.down
+    remove_column :ssamr_user_details, :other_institution
+  end
+end