[ticket/14992] Change how index length is checked
[ticket/14992] Remove duplicates from user_notifications table
[ticket/14992] Add unique index to user_notifications table
[ticket/14992] Shorten unique index name
[ticket/14992] Shorten another index for user notifications