From 60bfd8cf1a9452d7983e4c8fc889d537d6f826a4 Mon Sep 17 00:00:00 2001 From: shadab ahmed Date: Sat, 16 Nov 2024 15:41:24 +0530 Subject: [PATCH] status_type table created --- sql/init.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sql/init.sql b/sql/init.sql index 10115c8..649e9c8 100644 --- a/sql/init.sql +++ b/sql/init.sql @@ -112,6 +112,16 @@ CREATE TABLE IF NOT EXISTS dicom_study_overview ( updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); +-- Create tables if they don't exist +CREATE TABLE IF NOT EXISTS status_type ( + id INT AUTO_INCREMENT PRIMARY KEY, + category_id VARCHAR(50), + name VARCHAR(100), + code VARCHAR(100), + description VARCHAR(20), + severity INT +); + -- History and Audit Tables (No changes required here) CREATE TABLE IF NOT EXISTS router_status_history ( id INT AUTO_INCREMENT PRIMARY KEY,