avatars

1175 rows


Description

Assign avatars (avatars_list) to users (login)

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT UNSIGNED 10 null
idUser MEDIUMINT UNSIGNED 8 null
login.id avatars_ibfk_1 R
idAvatar INT UNSIGNED 10 null
avatars_list.id avatars_ibfk_2 R
selected BIT 1 0
expires_at TIMESTAMP 19 null

If null the avatar is permanent

create_time TIMESTAMP 19 current_timestamp()
update_time TIMESTAMP 19 current_timestamp()

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
friendCnst Performance Asc idAvatar
idUser Must be unique Asc/Asc idUser + idAvatar

Relationships