Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added migration

  • Loading branch information...
commit 29aea0b42ba92c03ddb36171fce0e92011c1736f 1 parent 8eddd5f
@jaminben jaminben authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 db/migrate/20110402181907_add_correct_answer.rb
View
9 db/migrate/20110402181907_add_correct_answer.rb
@@ -0,0 +1,9 @@
+class AddCorrectAnswer < ActiveRecord::Migration
+ def self.up
+ add_column :responses, :correct_answer, :string
+ end
+
+ def self.down
+ remove_column :responses, :correct_answer
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.