Код: Выделить всё
users:
id
username
password_hash
birthday
status
holidays:
id
month
day
name
description
single-events:
id
date_at
name
description
notifications_events:
id
date_at
type
event_id
message
Код: Выделить всё
users:
id
username
password_hash
birthday
status
holidays:
id
month
day
name
description
single-events:
id
date_at
name
description
notifications_events:
id
date_at
type
event_id
message
Код: Выделить всё
SELECT id as event_id, birthday as date_at, '1' as type FROM users
UNION
SELECT id, MAKEDATE(или что там в MySQL), '2' FROM holidays
UNION
SELECT id, date_at, '3' FROM single-events
Код: Выделить всё
special-date:
id
date_at
type // 1 - holiday, 2 - event ...
name
description
message