aboutsummaryrefslogtreecommitdiff
path: root/backend/src/db/users.rs
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2021-12-19 00:16:46 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2021-12-19 00:16:46 +0100
commit52242b03f1af7f73e73592c2e5ee2bc54813a64d (patch)
tree1ecafcbebad7b6f8ae71670afbe2921c975196fa /backend/src/db/users.rs
parent2dbb085008f68ed56675cf23ea6e1c89af632ea9 (diff)
downloadplanetwars.dev-52242b03f1af7f73e73592c2e5ee2bc54813a64d.tar.xz
planetwars.dev-52242b03f1af7f73e73592c2e5ee2bc54813a64d.zip
simple bot uploads
Diffstat (limited to 'backend/src/db/users.rs')
-rw-r--r--backend/src/db/users.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/db/users.rs b/backend/src/db/users.rs
index 29cee88..0817766 100644
--- a/backend/src/db/users.rs
+++ b/backend/src/db/users.rs
@@ -20,7 +20,7 @@ pub struct NewUser<'a> {
#[derive(Queryable, Debug)]
pub struct User {
- pub user_id: i32,
+ pub id: i32,
pub username: String,
pub password_salt: Vec<u8>,
pub password_hash: Vec<u8>,