# execution_limit_audit ## Description
Table Definition ```sql CREATE TABLE "execution_limit_audit" ("id" integer PRIMARY KEY NOT NULL, "projectId" varchar(36), "field" varchar(32) NOT NULL, "oldValue" text, "newValue" text, "updatedBy" varchar, "loginId" varchar(255), "createdAt" datetime(3) NOT NULL DEFAULT (STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW')), CONSTRAINT "CHK_execution_limit_audit_project_field" CHECK (("field" = 'projectMaxExecutions' AND "projectId" IS NOT NULL) OR ("field" <> 'projectMaxExecutions' AND "projectId" IS NULL)), CONSTRAINT "CHK_execution_limit_audit_field" CHECK ("field" IN ('periodUnit', 'instanceMaxExecutions', 'defaultProjectMaxExecutions', 'projectMaxExecutions'))) ```
## Columns | Name | Type | Default | Nullable | Children | Parents | Comment | | ---- | ---- | ------- | -------- | -------- | ------- | ------- | | createdAt | datetime(3) | STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW') | false | | | | | field | varchar(32) | | false | | | | | id | INTEGER | | false | | | | | loginId | varchar(255) | | true | | | | | newValue | TEXT | | true | | | | | oldValue | TEXT | | true | | | | | projectId | varchar(36) | | true | | | | | updatedBy | varchar | | true | | | | ## Constraints | Name | Type | Definition | | ---- | ---- | ---------- | | - | CHECK | CHECK (("field" = 'projectMaxExecutions' AND "projectId" IS NOT NULL) OR ("field" <> 'projectMaxExecutions' AND "projectId" IS NULL)) | | - | CHECK | CHECK ("field" IN ('periodUnit', 'instanceMaxExecutions', 'defaultProjectMaxExecutions', 'projectMaxExecutions')) | | id | PRIMARY KEY | PRIMARY KEY (id) | ## Relations ```mermaid erDiagram "execution_limit_audit" { datetime_3_ createdAt varchar_32_ field INTEGER id varchar_255_ loginId TEXT newValue TEXT oldValue varchar_36_ projectId varchar updatedBy } ``` --- > Generated by [tbls](https://github.com/k1LoW/tbls)