Added database connection

Code now connects to database and prints out errors. Also the ticket
table now includes a timestamp field
This commit is contained in:
2026-04-22 15:50:08 +02:00
parent 9972863232
commit bc0d3cb589
5 changed files with 214 additions and 0 deletions

View File

@@ -6,5 +6,6 @@ CREATE TABLE IF NOT EXISTS tickets (
betreff VARCHAR(100),
description VARCHAR,
room SMALLINT,
date TIMESTAMP,
user_id SMALLINT
);