# reference_advance_payment_method

## Description

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

```sql
CREATE TABLE `reference_advance_payment_method` (
  `reference_advance_payment_method_id` smallint unsigned NOT NULL AUTO_INCREMENT,
  `payment_method` varchar(255) NOT NULL,
  `is_internal` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`reference_advance_payment_method_id`)
) ENGINE=InnoDB AUTO_INCREMENT=[Redacted by tbls] DEFAULT CHARSET=utf8mb3
```

</details>

## Columns

| Name                                | Type              | Default | Nullable | Extra Definition | Children                                                                                        | Parents | Comment |
| ----------------------------------- | ----------------- | ------- | -------- | ---------------- | ----------------------------------------------------------------------------------------------- | ------- | ------- |
| is_internal                         | tinyint(1)        | 0       | true     |                  |                                                                                                 |         |         |
| payment_method                      | varchar(255)      |         | false    |                  |                                                                                                 |         |         |
| reference_advance_payment_method_id | smallint unsigned |         | false    | auto_increment   | [contract_advance](contract_advance.md) [contract_advance_history](contract_advance_history.md) |         |         |

## Constraints

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

## Indexes

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

## Relations

![er](reference_advance_payment_method.svg)

---

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