Manual:User properties table/ja

user_properties テーブルは、を保持します. It replaces the old blob. Only non-default settings are stored, so changes to the defaults are now reflected for everybody that hasn't saved an alternative preference, not only new accounts.

up_user
Foreign key to the  field of the  table.

up_property
利用者の個人設定. を参照してください. 例: ,

up_value
The preference value.



スキーマの要約
+-+--+--+-+-+---+ +-+--+--+-+-+---+ +-+--+--+-+-+---+
 * Field      | Type             | Null | Key | Default | Extra |
 * up_user    | int(10) unsigned | NO   | PRI | NULL    |       |
 * up_property | varbinary(255)  | NO   | PRI | NULL    |       |
 * up_value   | blob             | YES  |     | NULL    |       |

+-++--+-+-+---+ +-++--+-+-+---+ +-++--+-+-+---+
 * Field      | Type           | Null | Key | Default | Extra |
 * up_user    | int(11)        | NO   | PRI | NULL    |       |
 * up_property | varbinary(255) | NO  | PRI | NULL    |       |
 * up_value   | blob           | YES  |     | NULL    |       |

+-+---+--+-+-++ +-+---+--+-+-++ +-+---+--+-+-++
 * Field      | Type          | Null | Key | Default | Extra          |
 * up_user    | int(11)       | NO   | PRI | NULL    |                |
 * up_property | varbinary(32) | NO  | PRI | NULL    |                |
 * up_value   | blob          | YES  |     | NULL    |                |

インデックス
 +-++-+--+-+---+-+--++--++-+---+ +-++-+--+-+---+-+--++--++-+---+ +-++-+--+-+---+-+--++--++-+---+
 * Table          | Non_unique | Key_name    | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
 * user_properties |         0 | PRIMARY     |            1 | up_user     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * user_properties |         0 | PRIMARY     |            2 | up_property | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
 * user_properties |         1 | up_property |            1 | up_property | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |