Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| mmta_id | INT | 10 | √ | null |
|
|
|||||
| template_id | INT | 10 | null |
|
|
||||||
| ordering | INT | 10 | null |
|
|
||||||
| action | enum('delete_field', 'add_field', 'update_field', 'move_field', 'copy_field', 'copy_and_replace_field') | 22 | null |
|
|
||||||
| field_number | SMALLINT | 5 | 0 |
|
|
||||||
| from_field | VARCHAR | 3 | null |
|
|
||||||
| from_subfield | VARCHAR | 1 | √ | NULL |
|
|
|||||
| field_value | TEXT | 65535 | √ | NULL |
|
|
|||||
| to_field | VARCHAR | 3 | √ | NULL |
|
|
|||||
| to_subfield | VARCHAR | 1 | √ | NULL |
|
|
|||||
| to_regex_search | MEDIUMTEXT | 16777215 | √ | NULL |
|
|
|||||
| to_regex_replace | MEDIUMTEXT | 16777215 | √ | NULL |
|
|
|||||
| to_regex_modifiers | VARCHAR | 8 | √ | '' |
|
|
|||||
| conditional | enum('if', 'unless') | 6 | √ | NULL |
|
|
|||||
| conditional_field | VARCHAR | 3 | √ | NULL |
|
|
|||||
| conditional_subfield | VARCHAR | 1 | √ | NULL |
|
|
|||||
| conditional_comparison | enum('exists', 'not_exists', 'equals', 'not_equals') | 10 | √ | NULL |
|
|
|||||
| conditional_value | MEDIUMTEXT | 16777215 | √ | NULL |
|
|
|||||
| conditional_regex | BOOLEAN | 3 | 0 |
|
|
||||||
| description | MEDIUMTEXT | 16777215 | √ | NULL |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | mmta_id |
| mmta_ibfk_1 | Performance | Asc | template_id |
