diff --git a/MySQL/Skript_DDL.sql b/MySQL/Skript_DDL.sql index a1229b5..d8ed81d 100644 --- a/MySQL/Skript_DDL.sql +++ b/MySQL/Skript_DDL.sql @@ -204,4 +204,14 @@ credentials_credentials_id INT UNSIGNED NOT NULL, PRIMARY KEY (devices_devices_id, credentials_credentials_id), FOREIGN KEY (devices_devices_id) REFERENCES Device (device_id) ON DELETE CASCADE, FOREIGN KEY (credentials_credentials_id) REFERENCES Credentials (credentials_id) ON DELETE CASCADE -); \ No newline at end of file +); + +CREATE TABLE IF NOT EXISTS v_logentries ( +logentrie_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, +pod VARCHAR(1000), +location VARCHAR(1000) +hostname VARCHAR(45), +severity INT, +timestamp TIMESTAMP; +message VARCHAR(1000) +); \ No newline at end of file