-- Migration 015: Rate limiting storage CREATE TABLE IF NOT EXISTS rate_limits ( id INT AUTO_INCREMENT PRIMARY KEY, identifier VARCHAR(255) NOT NULL, attempts INT NOT NULL DEFAULT 1, first_attempt_at BIGINT NOT NULL, UNIQUE KEY idx_identifier (identifier) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;