Skip to content

Commit

Permalink
Add timestamps to surveys
Browse files Browse the repository at this point in the history
  • Loading branch information
tjgrathwell committed Jan 20, 2015
1 parent f87bc1d commit e5bde00
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
5 changes: 5 additions & 0 deletions db/migrate/20150120043336_add_timestamps_to_surveys.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddTimestampsToSurveys < ActiveRecord::Migration
def change
add_timestamps(:surveys)
end
end
14 changes: 8 additions & 6 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20150119053117) do
ActiveRecord::Schema.define(version: 20150120043336) do

create_table "authentications", force: :cascade do |t|
t.integer "user_id"
Expand Down Expand Up @@ -209,11 +209,13 @@
add_index "sections", ["event_id"], name: "index_sections_on_event_id"

create_table "surveys", force: :cascade do |t|
t.integer "rsvp_id"
t.text "good_things"
t.text "bad_things"
t.text "other_comments"
t.integer "recommendation_likelihood"
t.integer "rsvp_id"
t.text "good_things"
t.text "bad_things"
t.text "other_comments"
t.integer "recommendation_likelihood"
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "users", force: :cascade do |t|
Expand Down

0 comments on commit e5bde00

Please sign in to comment.