# Workflow Runtime The `WorkflowRuntime` table is part of the [PostgreSQL database schema](https://docs.workflowengine.io/database-schema/postgresql/) used by Workflow Engine. The `WorkflowRuntime` table stores registered runtime nodes and their coordination state. This page lists the table columns in database order together with types, nullability, primary keys, defaults, and indexes. ## Table columns The `WorkflowRuntime` table contains 7 columns in database order. Data types and default expressions use the syntax defined by PostgreSQL. Table: WorkflowRuntime columns | Position | Column | Database type | Nullable | Primary key | Default | |----------|--------|---------------|----------|-------------|---------| | 1 | `RuntimeId` | `character varying(450)` | No | Yes | - | | 2 | `Lock` | `uuid` | No | No | - | | 3 | `Status` | `smallint` | No | No | - | | 4 | `RestorerId` | `character varying(450)` | Yes | No | - | | 5 | `NextTimerTime` | `timestamp without time zone` | Yes | No | - | | 6 | `NextServiceTimerTime` | `timestamp without time zone` | Yes | No | - | | 7 | `LastAliveSignal` | `timestamp without time zone` | Yes | No | - | ## Database indexes The `WorkflowRuntime` table defines 1 database indexes. Definitions retain the column or field order and sort direction used by the database. Table: WorkflowRuntime indexes | Index | Unique | Definition | |-------|--------|------------| | `WorkflowRuntime_pkey` | Yes | `CREATE UNIQUE INDEX "WorkflowRuntime_pkey" ON public."WorkflowRuntime" USING btree ("RuntimeId")` |