CREATE TABLE IF NOT EXISTS `workflow_actions` (
  `id` INT AUTO_INCREMENT PRIMARY KEY,
  `workflow_id` INT NOT NULL,
  `action_type` VARCHAR(255) NOT NULL,
  `config` JSON,
  `created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
  FOREIGN KEY (workflow_id) REFERENCES workflows(id) ON DELETE CASCADE
);