Manual:Change tag table

The change_tag table tracks tags>Special:MyLanguage/Manual:Tags|tags for revisions, logs and recent changes.

See also the  and  tables.

ct_id
The primary key.

ct_rc_id
 for the change.

ct_log_id
 for the change.

ct_rev_id
 for the change.

Note that this will not be unique: for each tag applied to a change, a distinct row is added.

ct_tag
String corresponding to one tags>Special:MyLanguage/Manual:Tag_summary_table#ts_tags|tag applied to the change.

ct_tag_id
Foreign key to primary key of Manual:Change tag def table (change_tag_def.ctd_id). When it's populated, ct_tag is obsolete.

ct_params
Parameters for the tag.

Example: 139881 in <tvar|ext></>.

Schema summary
+---+--+--+-+-++ +---+--+--+-+-++ +---+--+--+-+-++
 * Field    | Type             | Null | Key | Default | Extra          |
 * ct_id    | int(10) unsigned | NO   | PRI | NULL    | auto_increment |
 * ct_rc_id | int(10) unsigned | YES  | MUL | NULL    |                |
 * ct_log_id | int(10) unsigned | YES | MUL | NULL    |                |
 * ct_rev_id | int(10) unsigned | YES | MUL | NULL    |                |
 * ct_params | blob            | YES  |     | NULL    |                |
 * ct_tag_id | int(10) unsigned | NO  | MUL | NULL    |                |

+---+--+--+-+-++ +---+--+--+-+-++ +---+--+--+-+-++
 * Field    | Type             | Null | Key | Default | Extra          |
 * ct_id    | int(10) unsigned | NO   | PRI | NULL    | auto_increment |
 * ct_rc_id | int(11)          | YES  | MUL | NULL    |                |
 * ct_log_id | int(10) unsigned | YES | MUL | NULL    |                |
 * ct_rev_id | int(10) unsigned | YES | MUL | NULL    |                |
 * ct_params | blob            | YES  |     | NULL    |                |
 * ct_tag_id | int(10) unsigned | NO  | MUL | NULL    |                |

+---+--+--+-+-++ +---+--+--+-+-++ +---+--+--+-+-++
 * Field    | Type             | Null | Key | Default | Extra          |
 * ct_id    | int(10) unsigned | NO   | PRI | NULL    | auto_increment |
 * ct_rc_id | int(11)          | YES  | MUL | NULL    |                |
 * ct_log_id | int(10) unsigned | YES | MUL | NULL    |                |
 * ct_rev_id | int(10) unsigned | YES | MUL | NULL    |                |
 * ct_tag   | varbinary(255)   | NO   | MUL |         |                |
 * ct_params | blob            | YES  |     | NULL    |                |
 * ct_tag_id | int(10) unsigned | YES | MUL | NULL    |                |

+---+--+--+-+-++ +---+--+--+-+-++ +---+--+--+-+-++
 * Field    | Type             | Null | Key | Default | Extra          |
 * ct_id    | int(10) unsigned | NO   | PRI | NULL    | auto_increment |
 * ct_rc_id | int(11)          | YES  | MUL | NULL    |                |
 * ct_log_id | int(10) unsigned | YES | MUL | NULL    |                |
 * ct_rev_id | int(10) unsigned | YES | MUL | NULL    |                |
 * ct_tag   | varbinary(255)   | NO   | MUL | NULL    |                |
 * ct_params | blob            | YES  |     | NULL    |                |

+---+--+--+-+-++ +---+--+--+-+-++ +---+--+--+-+-++
 * Field    | Type             | Null | Key | Default | Extra          |
 * ct_id    | int(10) unsigned | NO   | PRI | NULL    | auto_increment |
 * ct_rc_id | int(11)          | YES  | MUL | NULL    |                |
 * ct_log_id | int(11)         | YES  | MUL | NULL    |                |
 * ct_rev_id | int(11)         | YES  | MUL | NULL    |                |
 * ct_tag   | varbinary(255)   | NO   | MUL | NULL    |                |
 * ct_params | blob            | YES  |     | NULL    |                |

+---++--+-+-+---+ +---++--+-+-+---+ +---++--+-+-+---+
 * Field    | Type           | Null | Key | Default | Extra |
 * ct_rc_id | int(11)        | YES  | MUL | NULL    |       |
 * ct_log_id | int(11)       | YES  | MUL | NULL    |       |
 * ct_rev_id | int(11)       | YES  | MUL | NULL    |       |
 * ct_tag   | varbinary(255) | NO   | MUL | NULL    |       |
 * ct_params | blob          | YES  |     | NULL    |       |