# deleted_contract

## Description

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

```sql
CREATE TABLE `deleted_contract` (
  `deleted_contract_id` mediumint unsigned NOT NULL AUTO_INCREMENT,
  `contract_id` mediumint unsigned NOT NULL,
  `contract_data` json 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,
  PRIMARY KEY (`deleted_contract_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 |
| ------------------- | ------------------ | ------- | -------- | ---------------- | -------- | ----------------------- | ------- |
| contract_data       | json               |         | false    |                  |          |                         |         |
| contract_id         | mediumint unsigned |         | false    |                  |          | [contract](contract.md) |         |
| created_at          | datetime           |         | false    |                  |          |                         |         |
| created_by          | varchar(255)       |         | false    |                  |          |                         |         |
| deleted_contract_id | mediumint unsigned |         | false    | auto_increment   |          |                         |         |
| last_modified       | datetime           |         | false    |                  |          |                         |         |
| last_modified_by    | varchar(255)       |         | false    |                  |          |                         |         |

## Constraints

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

## Indexes

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

## Relations

![er](deleted_contract.svg)

---

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