# Workflow Form The `WorkflowForm` table is part of the [SQLite database schema](https://docs.workflowengine.io/database-schema/sqlite/) used by Workflow Engine. The `WorkflowForm` table stores versioned form definitions used by Workflow Engine. This page lists the table columns in database order together with types, nullability, primary keys, defaults, and indexes. ## Table columns The `WorkflowForm` table contains 8 columns in database order. Data types and default expressions use the syntax defined by SQLite. Table: WorkflowForm columns | Position | Column | Database type | Nullable | Primary key | Default | |----------|--------|---------------|----------|-------------|---------| | 1 | `Id` | `TEXT` | No | Yes | - | | 2 | `Name` | `TEXT` | No | No | - | | 3 | `Version` | `INTEGER` | No | No | - | | 4 | `CreationDate` | `INTEGER` | No | No | - | | 5 | `UpdatedDate` | `INTEGER` | No | No | - | | 6 | `Definition` | `TEXT` | No | No | - | | 7 | `Lock` | `INTEGER` | No | No | - | | 8 | `TenantId` | `TEXT` | Yes | No | - | ## Database indexes The `WorkflowForm` table defines 2 database indexes. Definitions retain the column or field order and sort direction used by the database. Table: WorkflowForm indexes | Index | Unique | Definition | |-------|--------|------------| | `WorkflowForm_Name_Version_TenantId_idx` | Yes | `CREATE UNIQUE INDEX "WorkflowForm_Name_Version_TenantId_idx" ON "WorkflowForm" ("Name", "Version", ifnull("TenantId", char(0)))` | | `sqlite_autoindex_WorkflowForm_1` | Yes | `Id` |