Manual:User properties table/zh

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
The user preference, see. 例子：,  ,

up_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    |                |