# a

## Description

TABLE A

## Labels

`blue` `green`

## Columns

| Name | Type | Default | Nullable | Children | Parents | Comment |
| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
| a | INTEGER |  | false | [b](b.md) |  | COLUMN A |
| a2 | TEXT |  | false |  |  | column a2 |

## Constraints

| Name | Type | Definition | Comment |
| ---- | ---- | ---------- | ------- |
| PRIMARY |  | PRIMARY KEY (a) | PRIMARY KEY |

## Indexes

| Name | Definition | Comment |
| ---- | ---------- | ------- |
| PRIMARY KEY | PRIMARY KEY(a) | PRIMARY |

## Triggers

| Name | Definition | Comment |
| ---- | ---------- | ------- |
| update_a_a2 | CREATE CONSTRAINT TRIGGER update_a_a2 AFTER INSERT OR UPDATE ON a | Update a2 when a update |

## Relations

```mermaid
erDiagram

"b" }|--|| "a" : "FOREIGN KEY (b) REFERENCES a(a)"

"a" {
  INTEGER a PK
  TEXT a2
}
"b" {
  INTEGER b FK
  TEXT b2
}
```

---

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