Manual:Slot roles table/ja

slot_roles テーブルはロール名の正規化テーブルです. テーブルによって使用されます.

In PHP code, normalization is managed via.

It was introduced in MediaWiki 1.31 as part of the project; see  for details. During migration from older versions, the table is populated by (run automatically by the upgrade script).

role_id
主キーです.

role_name
Description of the name of the role.

スキーマ
+---+---+--+-+-++ +---+---+--+-+-++ +---+---+--+-+-++
 * Field    | Type          | Null | Key | Default | Extra          |
 * role_id  | int(11)       | NO   | PRI | NULL    | auto_increment |
 * role_name | varbinary(64) | NO  | UNI | NULL    |                |

+---+---+--+-+-++ +---+---+--+-+-++ +---+---+--+-+-++
 * Field    | Type          | Null | Key | Default | Extra          |
 * role_id  | smallint(6)   | NO   | PRI | NULL    | auto_increment |
 * role_name | varbinary(64) | NO  | UNI | NULL    |                |