Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | INT | 10 | √ | null |
|
|
primary key |
||||
| link_group_id | INT | 10 | null |
|
|
groups linked accounts together |
|||||
| borrowernumber | INT | 10 | null |
|
|
foreign key to borrowers table |
|||||
| created_on | TIMESTAMP | 19 | current_timestamp() |
|
|
when the link was created |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| patron_account_links_s_pk | Primary key | Asc | id |
| borrowernumber | Must be unique | Asc | borrowernumber |
| link_group_id | Performance | Asc | link_group_id |
| PRIMARY | Must be unique | Asc | id |

