spec/dummy/db/schema.rb in neutral-0.0.7 vs spec/dummy/db/schema.rb in neutral-0.0.8

- old
+ new

@@ -9,28 +9,33 @@ # from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the greater likelihood for issues). # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20140118172808882161) do +ActiveRecord::Schema.define(version: 20170101120005) do create_table "neutral_votes", force: true do |t| t.string "voteable_type" t.integer "voteable_id" t.integer "voter_id" t.integer "value" t.datetime "created_at" t.datetime "updated_at" end + add_index "neutral_votes", ["voteable_type", "voteable_id"], name: "index_neutral_votes_on_voteable_type_and_voteable_id" + add_index "neutral_votes", ["voter_id"], name: "index_neutral_votes_on_voter_id" + create_table "neutral_votings", force: true do |t| t.string "votingable_type" t.integer "votingable_id" t.integer "positive", default: 0 t.integer "negative", default: 0 t.datetime "created_at" t.datetime "updated_at" end + + add_index "neutral_votings", ["votingable_type", "votingable_id"], name: "index_neutral_votings_on_votingable_type_and_votingable_id" create_table "posts", force: true do |t| t.string "title" t.datetime "created_at" t.datetime "updated_at"