diff --git a/src/server/cyberhex-code/install/create_db.php b/src/server/cyberhex-code/install/create_db.php
index fbdb4a5..3766e1d 100644
--- a/src/server/cyberhex-code/install/create_db.php
+++ b/src/server/cyberhex-code/install/create_db.php
@@ -123,6 +123,45 @@
';
}
+ // Create todo_items table
+ $sql = "CREATE TABLE IF NOT EXISTS todo_items (
+ id INT AUTO_INCREMENT PRIMARY KEY,
+ done INT,
+ done_by INT,
+ belongs_to_list INT,
+ text VARCHAR(500) NOT NULL
+ )";
+
+ if ($conn->query($sql) === TRUE) {
+ echo '
+ Table todo_items created successfully!
+
';
+ } else {
+ $success=0;
+ echo '
+ Error creating table todo_items: ' . $conn->error .'
+
';
+ }
+
+ // Create todo lists table
+ $sql = "CREATE TABLE IF NOT EXISTS todo_lists (
+ id INT AUTO_INCREMENT PRIMARY KEY,
+ belongs_to_incident INT,
+ name VARCHAR(255) NOT NULL
+ )";
+
+ if ($conn->query($sql) === TRUE) {
+ echo '
+ Table todo_items created successfully!
+
';
+ } else {
+ $success=0;
+ echo '
+ Error creating table todo_items: ' . $conn->error .'
+
';
+ }
+
+
// Create server log table
$sql = "CREATE TABLE IF NOT EXISTS server_log (
id INT AUTO_INCREMENT PRIMARY KEY,