CREATE TABLE IF NOT EXISTS deletion_requests (
  id           INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
  email        VARCHAR(255)                              NOT NULL,
  reason       TEXT,
  ip           VARCHAR(45),
  status       ENUM('pending','completed','cancelled')   NOT NULL DEFAULT 'pending',
  created_at   DATETIME                                  NOT NULL DEFAULT CURRENT_TIMESTAMP,
  processed_at DATETIME                                  DEFAULT NULL,
  INDEX idx_email  (email),
  INDEX idx_status (status)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
