SQL Create statements 4/17/26

This commit is contained in:
2026-04-17 15:06:36 -04:00
parent 1daac33c0e
commit 043584e62b
130 changed files with 1660 additions and 0 deletions

14
Surveys.sql Normal file
View File

@@ -0,0 +1,14 @@
CREATE TABLE IF NOT EXISTS Surveys (
SurveyId INT NOT NULL,
OrgUnitId INT NOT NULL,
Name VARCHAR(255) NOT NULL,
Description TEXT,
IsActive TINYINT(1),
IsAnonymous TINYINT(1),
IsDeleted TINYINT(1),
CreatedDate DATETIME(6),
ModifiedDate DATETIME(6),
Version BIGINT,
PRIMARY KEY (SurveyId),
INDEX idx_surveys_org (OrgUnitId)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;