CREATE TABLE chats (
  id INT AUTO_INCREMENT PRIMARY KEY,
  project VARCHAR(255),
  user_input TEXT,
  llm_output TEXT,
  timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

CREATE TABLE feedback (
  id INT AUTO_INCREMENT PRIMARY KEY,
  chat_id INT,
  rating ENUM('positive','negative'),
  comment TEXT,
  timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
