Start with the analysis stuff

This commit is contained in:
Lol3rrr
2024-09-12 00:13:26 +02:00
parent 1bfcd64a3c
commit f6500ce2cd
15 changed files with 498 additions and 23 deletions

View File

@@ -24,3 +24,19 @@ pub struct User {
pub steamid: String,
pub name: String,
}
#[derive(Queryable, Selectable, Insertable, Debug)]
#[diesel(table_name = crate::schema::demo_info)]
#[diesel(check_for_backend(diesel::pg::Pg))]
pub struct DemoInfo {
pub demo_id: i64,
pub map: String,
}
#[derive(Queryable, Selectable, Insertable, Debug)]
#[diesel(table_name = crate::schema::processing_status)]
#[diesel(check_for_backend(diesel::pg::Pg))]
pub struct ProcessingStatus {
pub demo_id: i64,
pub info: i16,
}