From cab378d15402da3915a6498c3f5462a589fd31d5 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Wed, 28 Dec 2016 17:10:12 +0200 Subject: [PATCH] Update log DB schema --- db/api_log_schema.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/db/api_log_schema.rb b/db/api_log_schema.rb index 74252a159..f2b0324bd 100644 --- a/db/api_log_schema.rb +++ b/db/api_log_schema.rb @@ -27,8 +27,11 @@ ActiveRecord::Schema.define(version: 0) do t.string "ip", limit: 255 t.datetime "created_at" t.datetime "updated_at" + t.string "uuid" end + add_index "epp_logs", ["uuid"], name: "epp_logs_uuid", using: :btree + create_table "repp_logs", force: :cascade do |t| t.string "request_path", limit: 255 t.string "request_method", limit: 255 @@ -40,6 +43,9 @@ ActiveRecord::Schema.define(version: 0) do t.string "ip", limit: 255 t.datetime "created_at" t.datetime "updated_at" + t.string "uuid" end + add_index "repp_logs", ["uuid"], name: "repp_logs_uuid", using: :btree + end