Jump to content

Handbuch:user_rights-Tabelle

From mediawiki.org
This page is a translated version of the page Manual:User rights table and the translation is 67% complete.
Outdated translations are marked like this.
Handbuch:Inhaltsübersicht MediaWiki-Datenbank-Layout user_rights-Tabelle
MediaWiki Version:
1.4

Die user_rights-Tabelle wird nicht in der MediaWiki-Version 1.5 verwendet, und kann sicher gelöscht werden.

  • ur_user - The user's user_id
  • ur_rights - * $rights: Die Rechte für diesen Benutzer

Schematische Übersicht

MediaWiki Version:
1.4

DESCRIBE user_rights;

+-----------+-----------------+------+-----+---------+-------+
| Field     | Type            | Null | Key | Default | Extra |
+-----------+-----------------+------+-----+---------+-------+
| ur_user   | int(5) unsigned | NO   | PRI | NULL    |       |
| ur_rights | tinyblob        | NO   |     | NULL    |       |
+-----------+-----------------+------+-----+---------+-------+

Indexe

MediaWiki Version:
1.4

SHOW INDEX IN user_rights;

+-------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table       | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+-------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| user_rights |          0 | ur_user  |            1 | ur_user     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
+-------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+