aboutsummaryrefslogtreecommitdiff
path: root/src/db/schema.rs
diff options
context:
space:
mode:
authorNathan Perry <avaglir@gmail.com>2019-03-08 16:57:27 -0500
committerNathan Perry <avaglir@gmail.com>2019-03-08 16:57:27 -0500
commit86025df1f6d814c98a14211ceb4da6cf6de915c7 (patch)
treec615b6634eea05498d772f68aec2d52fa3ca4f01 /src/db/schema.rs
parent24a7cb3c8eb0517b69c145170765c891a82ccc76 (diff)
first pass with oauth
Diffstat (limited to 'src/db/schema.rs')
-rw-r--r--src/db/schema.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/db/schema.rs b/src/db/schema.rs
index 01ec1d0..9a67cec 100644
--- a/src/db/schema.rs
+++ b/src/db/schema.rs
@@ -17,6 +17,16 @@ table! {
}
table! {
+ google_oauth_tokens (id) {
+ id -> Int4,
+ token -> Varchar,
+ refresh_token -> Varchar,
+ expiration -> Timestamp,
+ created -> Timestamp,
+ }
+}
+
+table! {
images (id) {
id -> Int4,
data -> Bytea,
@@ -78,6 +88,7 @@ joinable!(invocation_records -> memes (meme_id));
allow_tables_to_appear_in_same_query!(
audio,
audit_records,
+ google_oauth_tokens,
images,
invocation_records,
memes,