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

View File

@@ -0,0 +1,7 @@
CREATE TABLE IF NOT EXISTS OrganizationalUnitRecentAccess (
OrgUnitId INT NOT NULL,
UserId INT NOT NULL,
LastAccessedDate DATETIME(6) NOT NULL,
PRIMARY KEY (OrgUnitId, UserId),
CONSTRAINT fk_oura_orgunit FOREIGN KEY (OrgUnitId) REFERENCES OrganizationalUnits(OrgUnitId)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;