# shortlink

0 rows

### Description

Short codes for user short links

### Columns

Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments
--- | --- | --- | --- | --- | --- | --- | --- | ---
id | BIGINT | 19 |  | √ | null |  |  |
shortcode | VARCHAR | 12 |  |  |  |  |  | The shortcode to use for the short link
userid | BIGINT | 19 |  |  | null |  |
user.id | shor_use2_fkR
component | VARCHAR | 100 |  |  |  |  |  |
linktype | VARCHAR | 100 |  |  |  |  |  |
identifier | VARCHAR | 1333 |  |  |  |  |  | An identifier for this component / type combination

### Indexes

Constraint Name | Type | Sort | Column(s)
--- | --- | --- | ---
PRIMARY | Primary key | Asc | id
shor_sho_ix | Performance | Asc | shortcode
shor_use_ix | Performance | Asc | userid
shor_usesho_uix | Must be unique | Asc/Asc | userid + shortcode

### Relationships