Skip to content

Commit

Permalink
add questions to seed file
Browse files Browse the repository at this point in the history
  • Loading branch information
mradeybee committed Feb 3, 2016
1 parent 791de6b commit b9272fc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,19 @@
#
# It's strongly recommended that you check this file into your version control system.


ActiveRecord::Schema.define(version: 20160201170223) do

create_table "answers", force: :cascade do |t|
t.integer "user_id"
t.integer "question_id"
t.string "content"
t.integer "votes"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end

create_table "comments", force: :cascade do |t|
t.integer "user_id"
t.string "content"
t.integer "votes"
t.integer "comment_on_id"
t.string "comment_on_type"
t.datetime "created_at", null: false
Expand All @@ -39,7 +36,6 @@
t.integer "user_id"
t.string "title"
t.string "content"
t.integer "votes"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
Expand Down Expand Up @@ -103,4 +99,5 @@

add_index "votes", ["user_id"], name: "index_votes_on_user_id"
add_index "votes", ["voteable_type", "voteable_id"], name: "index_votes_on_voteable_type_and_voteable_id"

end

0 comments on commit b9272fc

Please sign in to comment.