From 83a06bfbd18e4f539b8e42e8e65d719040863100 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Sun, 3 Mar 2019 02:39:24 -0500 Subject: record meme invocations --- src/db/schema.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/db/schema.rs') diff --git a/src/db/schema.rs b/src/db/schema.rs index 8749731..1ab5fa1 100644 --- a/src/db/schema.rs +++ b/src/db/schema.rs @@ -26,6 +26,17 @@ table! { } } +table! { + invocation_records (id) { + id -> Int4, + user_id -> Int8, + message_id -> Int8, + meme_id -> Int4, + time -> Timestamp, + random -> Bool, + } +} + table! { memes (id) { id -> Int4, @@ -67,6 +78,7 @@ allow_tables_to_appear_in_same_query!( audio, audit_records, images, + invocation_records, memes, metadata, tombstones, -- cgit v1.3.1