Update some database types and fix other config related issues

This commit is contained in:
Lol3rrr
2024-09-10 22:39:10 +02:00
parent 89a366ff52
commit 1bfcd64a3c
9 changed files with 33 additions and 49 deletions

View File

@@ -4,7 +4,7 @@ use diesel::prelude::*;
#[diesel(table_name = crate::schema::sessions)]
#[diesel(check_for_backend(diesel::pg::Pg))]
pub struct Session {
pub id: Vec<i64>,
pub id: String,
pub steamid: Option<String>,
pub expiry_date: String,
}
@@ -13,7 +13,7 @@ pub struct Session {
#[diesel(table_name = crate::schema::demos)]
#[diesel(check_for_backend(diesel::pg::Pg))]
pub struct Demo {
pub steam_id: i64,
pub steam_id: String,
pub demo_id: i64,
}