# Workflow Sync The `WorkflowSync` table is part of the [PostgreSQL database schema](https://docs.workflowengine.io/database-schema/postgresql/) used by Workflow Engine. The `WorkflowSync` table stores coordination locks used by Workflow Engine runtime services. This page lists the table columns in database order together with types, nullability, primary keys, defaults, and indexes. ## Table columns The `WorkflowSync` table contains 2 columns in database order. Data types and default expressions use the syntax defined by PostgreSQL. Table: WorkflowSync columns | Position | Column | Database type | Nullable | Primary key | Default | |----------|--------|---------------|----------|-------------|---------| | 1 | `Name` | `character varying(450)` | No | Yes | - | | 2 | `Lock` | `uuid` | No | No | - | ## Database indexes The `WorkflowSync` table defines 1 database indexes. Definitions retain the column or field order and sort direction used by the database. Table: WorkflowSync indexes | Index | Unique | Definition | |-------|--------|------------| | `WorkflowSync_pkey` | Yes | `CREATE UNIQUE INDEX "WorkflowSync_pkey" ON public."WorkflowSync" USING btree ("Name")` |