user_notifications


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id VARCHAR 255 null
tenant_id VARCHAR 255 √ default
location_business_line_id VARCHAR 255 null
user_id VARCHAR 255 null
announcement_id VARCHAR 255 √ null
link VARCHAR 512 √ null
title VARCHAR 255 null
message TEXT 65535 null
priority INT 10 2
is_read BIT 1 b'0'
read_at DATETIME 26 √ null
created_at DATETIME 26 null
updated_at DATETIME 26 √ null
created_by VARCHAR 255 √ null
updated_by VARCHAR 255 √ null

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
idx_user_notifications_user Performance Asc/Asc/Asc location_business_line_id + user_id + is_read

Relationships