From 4bb6f33028f2521019c1370b05be77a0c957c472 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Sun, 26 Nov 2023 12:58:13 +0100 Subject: [PATCH] README.md aktualisiert --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 2c16bfd..c856efb 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,21 @@ Before running the program, ensure you have the following: DB_NAME=your_db_name ``` +5. Create Database Table + +``` +CREATE TABLE `locations` ( + `dt` timestamp NULL DEFAULT NULL, + `tid` char(2) DEFAULT NULL, + `lat` decimal(9,6) DEFAULT NULL, + `lon` decimal(9,6) DEFAULT NULL, + `batt` int(11) DEFAULT NULL, + `vac` int(11) DEFAULT NULL, + `device` varchar(255) DEFAULT NULL, + `user` varchar(255) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; +``` + ## Usage ### Running with Docker Compose