# run_controller_contract_history

## Description

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

```sql
CREATE TABLE `run_controller_contract_history` (
  `run_controller_contract_history_id` mediumint unsigned NOT NULL AUTO_INCREMENT,
  `run_controller_contract_id` mediumint unsigned NOT NULL,
  `run_controller_id` mediumint unsigned NOT NULL,
  `contract_id` mediumint unsigned NOT NULL,
  `created_by` varchar(255) NOT NULL,
  `created_at` datetime NOT NULL,
  `last_modified_by` varchar(255) NOT NULL,
  `last_modified` datetime NOT NULL,
  `audit_id` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`run_controller_contract_history_id`)
) ENGINE=InnoDB AUTO_INCREMENT=[Redacted by tbls] DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
```

</details>

## Columns

| Name                               | Type               | Default | Nullable | Extra Definition | Children | Parents                                               | Comment |
| ---------------------------------- | ------------------ | ------- | -------- | ---------------- | -------- | ----------------------------------------------------- | ------- |
| audit_id                           | varchar(255)       |         | true     |                  |          |                                                       |         |
| contract_id                        | mediumint unsigned |         | false    |                  |          | [contract](contract.md)                               |         |
| created_at                         | datetime           |         | false    |                  |          |                                                       |         |
| created_by                         | varchar(255)       |         | false    |                  |          |                                                       |         |
| last_modified                      | datetime           |         | false    |                  |          |                                                       |         |
| last_modified_by                   | varchar(255)       |         | false    |                  |          |                                                       |         |
| run_controller_contract_history_id | mediumint unsigned |         | false    | auto_increment   |          |                                                       |         |
| run_controller_contract_id         | mediumint unsigned |         | false    |                  |          | [run_controller_contract](run_controller_contract.md) |         |
| run_controller_id                  | mediumint unsigned |         | false    |                  |          | [run_controller](run_controller.md)                   |         |

## Constraints

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

## Indexes

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

## Relations

![er](run_controller_contract_history.svg)

---

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