DROP INDEX IF EXISTS idx_sessions_device;
DROP INDEX IF EXISTS idx_sessions_user;
DROP TABLE IF EXISTS sessions;
ALTER TABLE devices DROP COLUMN totp_trusted_until;
ALTER TABLE devices DROP COLUMN client_version;
