# Workflow Scheme The `WorkflowScheme` table is part of the [SQL Server database schema](https://docs.workflowengine.io/database-schema/sql-server/) 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 SQL Server. Table: WorkflowScheme columns | Position | Column | Database type | Nullable | Primary key | Default | |----------|--------|---------------|----------|-------------|---------| | 1 | `Code` | `nvarchar(256)` | No | No | - | | 2 | `Scheme` | `nvarchar(max)` | No | No | - | | 3 | `CanBeInlined` | `bit` | No | No | `((0))` | | 4 | `InlinedSchemes` | `nvarchar(max)` | Yes | No | - | | 5 | `Tags` | `nvarchar(max)` | Yes | No | - | | 6 | `Id` | `uniqueidentifier` | No | Yes | - | | 7 | `TenantId` | `nvarchar(128)` | 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 | |-------|--------|------------| | `IX_WorkflowScheme_Code_TenantId` | Yes | `[Code], [TenantId]` | | `PK_WorkflowScheme` | Yes | `[Id]` |