README.md aktualisiert

This commit is contained in:
Simon Rieger 2023-11-26 12:58:13 +01:00
parent e6e6f91955
commit 4bb6f33028

View file

@ -47,6 +47,21 @@ Before running the program, ensure you have the following:
DB_NAME=your_db_name 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 ## Usage
### Running with Docker Compose ### Running with Docker Compose