Manual:slot_roles table
↑ Manual:Contents | MediaWiki database layout | slot_roles table |
MediaWiki version: | ≥ 1.31 |
The slot_roles table is a normalization table for role names.
FieldsEdit
role_idEdit
Primary key.
role_nameEdit
Description of the name of the role.
SchemaEdit
MediaWiki version: | ≥ 1.36 |
DESCRIBE slot_roles;
+-----------+---------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------+---------------+------+-----+---------+----------------+ | role_id | int(11) | NO | PRI | NULL | auto_increment | | role_name | varbinary(64) | NO | UNI | NULL | | +-----------+---------------+------+-----+---------+----------------+
MediaWiki versions: | 1.31 – 1.35 |
DESCRIBE slot_roles;
+-----------+---------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------+---------------+------+-----+---------+----------------+ | role_id | smallint(6) | NO | PRI | NULL | auto_increment | | role_name | varbinary(64) | NO | UNI | NULL | | +-----------+---------------+------+-----+---------+----------------+