
CREATE TABLE IF NOT EXISTS submissions (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(255) NOT NULL,
  status ENUM('new', 'processing', 'complete', 'error') NOT NULL DEFAULT 'new',
  profile_url VARCHAR(255) NULL,
  username VARCHAR(255) NULL,
  company VARCHAR(255) NULL,
  profile_image_url VARCHAR(255) NULL,
  location VARCHAR(255) NULL,
  industry VARCHAR(255) NULL,
  geo_location VARCHAR(255) NULL,
  created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
  updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);
