# execution_data

## Description

<details>
<summary><strong>Table Definition</strong></summary>

```sql
CREATE TABLE "execution_data" (
				"executionId" int PRIMARY KEY NOT NULL,
				"workflowData" text NOT NULL,
				"data" text NOT NULL, "workflowVersionId" VARCHAR(36),
				FOREIGN KEY("executionId") REFERENCES "execution_entity" ("id") ON DELETE CASCADE
			)
```

</details>

## Columns

| Name | Type | Default | Nullable | Children | Parents | Comment |
| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
| executionId | INT |  | false |  | [execution_entity](execution_entity.md) |  |
| workflowData | TEXT |  | false |  |  |  |
| data | TEXT |  | false |  |  |  |
| workflowVersionId | VARCHAR(36) |  | true |  |  |  |

## Constraints

| Name | Type | Definition |
| ---- | ---- | ---------- |
| executionId | PRIMARY KEY | PRIMARY KEY (executionId) |
| - (Foreign key ID: 0) | FOREIGN KEY | FOREIGN KEY (executionId) REFERENCES execution_entity (id) ON UPDATE NO ACTION ON DELETE CASCADE MATCH NONE |
| sqlite_autoindex_execution_data_1 | PRIMARY KEY | PRIMARY KEY (executionId) |

## Indexes

| Name | Definition |
| ---- | ---------- |
| sqlite_autoindex_execution_data_1 | PRIMARY KEY (executionId) |

## Relations

```mermaid
erDiagram

"execution_data" |o--|| "execution_entity" : "FOREIGN KEY (executionId) REFERENCES execution_entity (id) ON UPDATE NO ACTION ON DELETE CASCADE MATCH NONE"

"execution_data" {
  INT executionId PK
  TEXT workflowData
  TEXT data
  VARCHAR_36_ workflowVersionId
}
"execution_entity" {
  INTEGER id
  varchar_36_ workflowId FK
  boolean finished
  varchar mode
  varchar retryOf
  varchar retrySuccessId
  datetime startedAt
  datetime stoppedAt
  datetime waitTill
  varchar status
  datetime_3_ deletedAt
  datetime_3_ createdAt
  varchar_2_ storedAt
  TEXT tracingContext
  varchar_255_ deduplicationKey
  BIGINT jsonSizeBytes
  VARCHAR_36_ workflowVersionId
}
```

---

> Generated by [tbls](https://github.com/k1LoW/tbls)
