Permalink
Browse files

add earned column to favors table

  • Loading branch information...
1 parent 1a598b6 commit 3288fb38f754bb156fbea6c267f12ea6bca6505f @mikecrittenden committed Feb 29, 2012
Showing with 8 additions and 1 deletion.
  1. +6 −0 db/migrate/20120229165900_add_earned_to_favors.rb
  2. +2 −1 db/schema.rb
@@ -0,0 +1,6 @@
+class AddEarnedToFavors < ActiveRecord::Migration
+ def change
+ add_column :favors, :earned, :integer
+
+ end
+end
View
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20120229145242) do
+ActiveRecord::Schema.define(:version => 20120229165900) do
create_table "favors", :force => true do |t|
t.string "title"
@@ -24,6 +24,7 @@
t.integer "helper_id"
t.datetime "accepted_at"
t.text "resolution"
+ t.integer "earned"
end
create_table "taggings", :force => true do |t|

0 comments on commit 3288fb3

Please sign in to comment.