Start DB integration
This commit is contained in:
14
backend/src/schema.rs
Normal file
14
backend/src/schema.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
diesel::table! {
|
||||
sessions (id) {
|
||||
id -> Array<BigInt>,
|
||||
data -> Jsonb,
|
||||
expiry_date -> Text,
|
||||
}
|
||||
}
|
||||
|
||||
diesel::table! {
|
||||
demos (steam_id) {
|
||||
steam_id -> BigInt,
|
||||
demo_id -> BigInt
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user