aboutsummaryrefslogtreecommitdiffstats
path: root/src/schema.rs
diff options
context:
space:
mode:
authorEllie Huxtable <e@elm.sh>2021-04-20 17:07:11 +0100
committerGitHub <noreply@github.com>2021-04-20 16:07:11 +0000
commit34888827f8a06de835cbe5833a06914f28cce514 (patch)
tree8b56f20e50065cd2c222d5e8e067ec55cf1947a1 /src/schema.rs
parentOptimise docker (#34) (diff)
downloadatuin-34888827f8a06de835cbe5833a06914f28cce514.zip
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
Diffstat (limited to 'src/schema.rs')
-rw-r--r--src/schema.rs30
1 files changed, 0 insertions, 30 deletions
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,);