Jump to content

Manual:Tabla user_rights

From mediawiki.org
This page is a translated version of the page Manual:User rights table and the translation is 33% complete.
Outdated translations are marked like this.
Manual: Contenidos de MediaWiki database layout user_rights table
Versión de MediaWiki:
1.4

user_rights tabla no se usa en la versión MediaWiki 1.5 y puede borrarse sin problemas.

  • ur_user - * $user: el user_id del usuario
  • ur_rights - * $rights: los derechos del usuario

Schema summary

Versión de MediaWiki:
1.4

DESCRIBE user_rights;

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

Indexes

Versión de MediaWiki:
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      |         |               |
+-------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+