status_type table created
This commit is contained in:
parent
67eb7951b6
commit
60bfd8cf1a
10
sql/init.sql
10
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
|
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)
|
-- History and Audit Tables (No changes required here)
|
||||||
CREATE TABLE IF NOT EXISTS router_status_history (
|
CREATE TABLE IF NOT EXISTS router_status_history (
|
||||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user