summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-02-21 22:12:49 -0700
committermo khan <mo@mokhan.ca>2015-02-21 22:12:49 -0700
commit7cd78597d794efcf79090377bbc1909a1d6d3ad9 (patch)
treef4f55eb33be3912030c505198e67b1cba9ba2473 /db/schema.rb
parentfeaf5cfae0f948ceebae4d1ff2c80d84cd76cae0 (diff)
parent05b427bd4d9f9c4ea60f9485f06d68de0b689d28 (diff)
merge with master
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 45aa6ea..639dc0e 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -30,12 +30,14 @@ ActiveRecord::Schema.define(version: 20150221192553) do
t.datetime "updated_at", null: false
end
+ add_index "dispositions", ["fingerprint"], name: "index_dispositions_on_fingerprint", unique: true, using: :btree
+
create_table "events", id: :uuid, default: "uuid_generate_v4()", force: :cascade do |t|
t.string "type"
t.json "data"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
- t.integer "agent_id"
+ t.uuid "agent_id", null: false
end
add_index "events", ["agent_id"], name: "index_events_on_agent_id", using: :btree