status_type table created

This commit is contained in:
shadab ahmed 2024-11-16 15:41:24 +05:30
parent 67eb7951b6
commit 60bfd8cf1a

View File

@ -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,