From 3edf5d60f54bfd0cd2c818e5fb1ca133e324325d Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Thu, 30 Dec 2021 11:45:59 +0100 Subject: rename to planetwars-server --- backend/src/schema.rs | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 backend/src/schema.rs (limited to 'backend/src/schema.rs') diff --git a/backend/src/schema.rs b/backend/src/schema.rs deleted file mode 100644 index bf58434..0000000 --- a/backend/src/schema.rs +++ /dev/null @@ -1,39 +0,0 @@ -table! { - bots (id) { - id -> Int4, - owner_id -> Int4, - name -> Text, - } -} - -table! { - code_bundles (id) { - id -> Int4, - bot_id -> Int4, - path -> Text, - created_at -> Timestamp, - } -} - -table! { - sessions (id) { - id -> Int4, - user_id -> Int4, - token -> Varchar, - } -} - -table! { - users (id) { - id -> Int4, - username -> Varchar, - password_salt -> Bytea, - password_hash -> Bytea, - } -} - -joinable!(bots -> users (owner_id)); -joinable!(code_bundles -> bots (bot_id)); -joinable!(sessions -> users (user_id)); - -allow_tables_to_appear_in_same_query!(bots, code_bundles, sessions, users,); -- cgit v1.2.3