Slight disclaimer.

main
BurnyLlama 2022-11-06 14:43:19 +01:00
parent 7717e98ae9
commit 5943af70e9
1 changed files with 10 additions and 1 deletions

View File

@ -10,4 +10,13 @@ pub struct Map {
pub stars: i8,
pub mapper: String,
pub timestamp: NaiveDateTime,
}
}
/*
IMPORTANT: For this to work the following SQL query must be executed:
```SQL
UPDATE record_maps SET Timestamp='1970-01-01 01:01:01' WHERE Timestamp='1990-01-01 00:00:00';
```
Else the reads on `record_maps` will fail whenever the timestamp is '0000-00-00 00:00:00'!
TODO: Fix this server-side.
*/