# reference_worksheet_flowthrough_error

## Description

Reference table for worksheet_flowthrough error codes.

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

```sql
CREATE TABLE `reference_worksheet_flowthrough_error` (
  `error_code` varchar(50) NOT NULL COMMENT 'The error code. Example: ACCOUNT_ID_NOT_FOUND.',
  `description` varchar(255) NOT NULL COMMENT 'Description of the error. Example: Account ID not found.',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` varchar(180) NOT NULL,
  `last_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `last_modified_by` varchar(180) NOT NULL,
  `deleted_at` datetime DEFAULT NULL COMMENT 'When the error was deprecated.',
  `deleted_by` varchar(180) DEFAULT NULL COMMENT 'Who deprecated the error.',
  PRIMARY KEY (`error_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Reference table for worksheet_flowthrough error codes.'
```

</details>

## Columns

| Name             | Type         | Default           | Nullable | Extra Definition                              | Children | Parents | Comment                                                  |
| ---------------- | ------------ | ----------------- | -------- | --------------------------------------------- | -------- | ------- | -------------------------------------------------------- |
| created_at       | datetime     | CURRENT_TIMESTAMP | false    | DEFAULT_GENERATED                             |          |         |                                                          |
| created_by       | varchar(180) |                   | false    |                                               |          |         |                                                          |
| deleted_at       | datetime     |                   | true     |                                               |          |         | When the error was deprecated.                           |
| deleted_by       | varchar(180) |                   | true     |                                               |          |         | Who deprecated the error.                                |
| description      | varchar(255) |                   | false    |                                               |          |         | Description of the error. Example: Account ID not found. |
| error_code       | varchar(50)  |                   | false    |                                               |          |         | The error code. Example: ACCOUNT_ID_NOT_FOUND.           |
| last_modified    | datetime     | CURRENT_TIMESTAMP | false    | DEFAULT_GENERATED on update CURRENT_TIMESTAMP |          |         |                                                          |
| last_modified_by | varchar(180) |                   | false    |                                               |          |         |                                                          |

## Constraints

| Name    | Type        | Definition               |
| ------- | ----------- | ------------------------ |
| PRIMARY | PRIMARY KEY | PRIMARY KEY (error_code) |

## Indexes

| Name    | Definition                           |
| ------- | ------------------------------------ |
| PRIMARY | PRIMARY KEY (error_code) USING BTREE |

## Relations

![er](reference_worksheet_flowthrough_error.svg)

---

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