Permalink
Browse files

The migration should make the Alternative::experiment_id column an in…

…teger, not a string.
  • Loading branch information...
1 parent 1a90ea1 commit 6c0b2dfd6ac526841dcaa7cc77085f461a6533de @patio11 patio11 committed Aug 28, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 generators/abingo_migration/templates/abingo_migration.rb
@@ -11,7 +11,7 @@ def self.up
#add_index "experiments", "created_on"
create_table "alternatives", :force => true do |t|
- t.string :experiment_id
+ t.integer :experiment_id
t.string :content
t.string :lookup, :limit => 32
t.integer :weight, :default => 1

0 comments on commit 6c0b2df

Please sign in to comment.