Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
id | BIGINT | 19 | √ | null |
|
|
||||||
userid | BIGINT | 19 | null |
|
|
|||||||
tagcollid | BIGINT | 19 | null |
|
|
|||||||
name | VARCHAR | 255 |
|
|
||||||||
rawname | VARCHAR | 255 |
|
|
The raw, unnormalised name for the tag as entered by users |
|||||||
isstandard | BIT | 1 | 0 |
|
|
Whether this tag is standard |
||||||
description | LONGTEXT | 2147483647 | √ | null |
|
|
||||||
descriptionformat | TINYINT | 3 | 0 |
|
|
|||||||
flag | SMALLINT | 5 | √ | 0 |
|
|
a tag can be ‘flagged’ as inappropriate |
|||||
timemodified | BIGINT | 19 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
tag_tag2_ix | Performance | Asc | tagcollid |
tag_tagiss2_ix | Performance | Asc/Asc | tagcollid + isstandard |
tag_tagnam2_uix | Must be unique | Asc/Asc | tagcollid + name |
tag_use2_ix | Performance | Asc | userid |