Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| construction_style_id | INT | 10 | √ | null |
|
|
PK. Auto incrementing |
||||
| construction_id | INT | 10 | null |
|
|
FK. Link to construction |
|||||
| style_id | INT | 10 | null |
|
|
FK. Link to dic_style |
|||||
| is_primary_style | TINYINT | 3 | √ | NULL |
|
|
Whether the style is the primary style or a substyle |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| construction_styles_s_pk | Primary key | Asc | construction_style_id |
| idx_construction_style_construction_id | Performance | Asc | construction_id |
| PRIMARY | Must be unique | Asc | construction_style_id |
| style_id | Performance | Asc | style_id |

