From 5943af70e90e97491011b59e2695b8dde73db0c7 Mon Sep 17 00:00:00 2001 From: BurnyLlama Date: Sun, 6 Nov 2022 14:43:19 +0100 Subject: [PATCH] Slight disclaimer. --- src/types/mod.rs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/types/mod.rs b/src/types/mod.rs index 8b0b24a..0633db2 100644 --- a/src/types/mod.rs +++ b/src/types/mod.rs @@ -10,4 +10,13 @@ pub struct Map { pub stars: i8, pub mapper: String, pub timestamp: NaiveDateTime, -} \ No newline at end of file +} + +/* + 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. +*/ \ No newline at end of file