CREATE TABLE IF NOT EXISTS LTIAdvantageDeploymentAudit (
    Action VARCHAR(10) COMMENT 'Deployed, Updated, or Deleted',
    DeploymentID VARCHAR(36) NOT NULL,
    ClientID VARCHAR(36),
    DeploymentName VARCHAR(200),
    IsDeploymentEnabled TINYINT(1),
    HasAssignmentsAndGrades TINYINT(1),
    HasDeepLinking TINYINT(1),
    HasNamesAndRoles TINYINT(1),
    HasSubmissionReview TINYINT(1),
    HasActivityItemProfile TINYINT(1),
    HasPlatformNotificationService TINYINT(1),
    HasContextCopy TINYINT(1),
    ModifiedBy BIGINT,
    Anonymous TINYINT(1),
    PreProvisioningEnabled TINYINT(1),
    SendOrgUnitInfo TINYINT(1),
    SendUserFirstName TINYINT(1),
    SendUserLastName TINYINT(1),
    SendUserEmail TINYINT(1),
    SendBrightspaceUserID TINYINT(1),
    SendBrightspaceUsername TINYINT(1),
    SendBrightspaceOrgDefinedId TINYINT(1),
    SendLinkTitle TINYINT(1),
    SendLinkDescription TINYINT(1),
    OpenAsExternal TINYINT(1),
    AutoMigrateLinks TINYINT(1),
    IsSharedToManyOrgUnits TINYINT(1),
    AutoCreateGrades TINYINT(1),
    IncludeInFinalGrade TINYINT(1),
    Timestamp DATETIME NOT NULL,
    HasAssetProcessor TINYINT(1),
    PRIMARY KEY (DeploymentID, Timestamp)
) CHARACTER SET utf8mb4;