From 34888827f8a06de835cbe5833a06914f28cce514 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 20 Apr 2021 17:07:11 +0100 Subject: Switch to Warp + SQLx, use async, switch to Rust stable (#36) * Switch to warp + sql, use async and stable rust * Update CI to use stable --- src/schema.rs | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/schema.rs (limited to 'src/schema.rs') diff --git a/src/schema.rs b/src/schema.rs deleted file mode 100644 index 84bf5bab..00000000 --- a/src/schema.rs +++ /dev/null @@ -1,30 +0,0 @@ -table! { - history (id) { - id -> Int8, - client_id -> Text, - user_id -> Int8, - hostname -> Text, - timestamp -> Timestamp, - data -> Varchar, - created_at -> Timestamp, - } -} - -table! { - sessions (id) { - id -> Int8, - user_id -> Int8, - token -> Varchar, - } -} - -table! { - users (id) { - id -> Int8, - username -> Varchar, - email -> Varchar, - password -> Varchar, - } -} - -allow_tables_to_appear_in_same_query!(history, sessions, users,); -- cgit v1.3.1