Slight disclaimer.
This commit is contained in:
parent
7717e98ae9
commit
5943af70e9
|
@ -10,4 +10,13 @@ pub struct Map {
|
||||||
pub stars: i8,
|
pub stars: i8,
|
||||||
pub mapper: String,
|
pub mapper: String,
|
||||||
pub timestamp: NaiveDateTime,
|
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.
|
||||||
|
*/
|
Loading…
Reference in New Issue
Block a user