-- Track login activity per user
ALTER TABLE users
    ADD COLUMN login_count INT UNSIGNED NOT NULL DEFAULT 0,
    ADD COLUMN last_login_at DATETIME DEFAULT NULL,
    ADD KEY idx_users_last_login (last_login_at);
