# Workflow Scheme The `WorkflowScheme` table is part of the [SQLite database schema](https://docs.workflowengine.io/database-schema/sqlite/) used by Workflow Engine. The `WorkflowScheme` table stores editable workflow scheme definitions by code. This page lists the table columns in database order together with types, nullability, primary keys, defaults, and indexes. ## Table columns The `WorkflowScheme` table contains 7 columns in database order. Data types and default expressions use the syntax defined by SQLite. Table: WorkflowScheme columns | Position | Column | Database type | Nullable | Primary key | Default | |----------|--------|---------------|----------|-------------|---------| | 1 | `Id` | `TEXT` | No | Yes | - | | 2 | `Code` | `TEXT` | No | No | - | | 3 | `Scheme` | `TEXT` | No | No | - | | 4 | `CanBeInlined` | `INTEGER` | No | No | `0` | | 5 | `InlinedSchemes` | `TEXT` | Yes | No | - | | 6 | `Tags` | `TEXT` | Yes | No | - | | 7 | `TenantId` | `TEXT` | Yes | No | - | ## Database indexes The `WorkflowScheme` table defines 2 database indexes. Definitions retain the column or field order and sort direction used by the database. Table: WorkflowScheme indexes | Index | Unique | Definition | |-------|--------|------------| | `WorkflowScheme_Code_TenantId_idx` | Yes | `CREATE UNIQUE INDEX "WorkflowScheme_Code_TenantId_idx" ON "WorkflowScheme" ("Code", ifnull("TenantId", char(0)))` | | `sqlite_autoindex_WorkflowScheme_1` | Yes | `Id` |