From edae90585920d6e1110f44300c9f2cb3da553c29 Mon Sep 17 00:00:00 2001 From: Remco Huijdts Date: Fri, 29 Aug 2014 14:55:40 +0200 Subject: [PATCH] Add correct schema --- db/schema.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/db/schema.rb b/db/schema.rb index 854ea9f02..98b77d69e 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -152,6 +152,15 @@ ActiveRecord::Schema.define(version: 20140824230505) do add_index "likes", ["target_id", "author_id", "target_type"], name: "index_likes_on_target_id_and_author_id_and_target_type", unique: true, using: :btree add_index "likes", ["target_id"], name: "index_likes_on_post_id", using: :btree + create_table "locations", force: true do |t| + t.string "address" + t.string "lat" + t.string "lng" + t.integer "status_message_id" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + create_table "mentions", force: true do |t| t.integer "post_id", null: false t.integer "person_id", null: false