# Workflow Scheme The `workflowscheme` table is part of the [MySQL database schema](https://docs.workflowengine.io/database-schema/mysql/) 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 8 columns in database order. Data types and default expressions use the syntax defined by MySQL. Table: workflowscheme columns | Position | Column | Database type | Nullable | Primary key | Default | |----------|--------|---------------|----------|-------------|---------| | 1 | `Code` | `varchar(128)` | No | No | - | | 2 | `Scheme` | `longtext` | No | No | - | | 3 | `CanBeInlined` | `bit(1)` | No | No | `b'0'` | | 4 | `InlinedSchemes` | `varchar(1024)` | Yes | No | - | | 5 | `Tags` | `varchar(1024)` | Yes | No | - | | 6 | `Id` | `binary(16)` | No | Yes | - | | 7 | `TenantId` | `varchar(128)` | Yes | No | - | | 8 | `TenantIdForUniqueIndex` | `varchar(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 | |-------|--------|------------| | `PRIMARY` | Yes | ``Id`` | | `ix_workflowscheme_code_tenantid` | Yes | ``Code`, `TenantIdForUniqueIndex`` |