mejoras
This commit is contained in:
@@ -93,7 +93,7 @@ $integratedSchema = [
|
||||
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
|
||||
)",
|
||||
|
||||
"CREATE TABLE IF NOT EXISTS auto_responses (
|
||||
"CREATE TABLE IF NOT EXISTS autoresponses (
|
||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
trigger_type ENUM('keyword', 'menu_selection', 'welcome') NOT NULL,
|
||||
trigger_value VARCHAR(200),
|
||||
@@ -136,7 +136,7 @@ $initialData = [
|
||||
(1, 0, '❌ Salir', 'end', 'Gracias por contactarnos. ¡Hasta pronto!')",
|
||||
|
||||
// Respuestas automáticas
|
||||
"INSERT IGNORE INTO auto_responses (trigger_type, trigger_value, response_text) VALUES
|
||||
"INSERT IGNORE INTO autoresponses (trigger_type, trigger_value, response_text) VALUES
|
||||
('keyword', 'menu', 'Aquí tienes nuestro menú principal:'),
|
||||
('keyword', 'hola', '¡Hola! 👋 Escribe *menu* para ver opciones.'),
|
||||
('welcome', '', '¡Bienvenido! 👋 Escribe *menu* para comenzar.')"
|
||||
|
||||
Reference in New Issue
Block a user