fix(migrate): agregar columnas params y body_fields en company_endpoints

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-07-29 16:05:10 -05:00
co-authored by Claude Sonnet 4.6
parent 26b11d99e2
commit eb296ee078
+2
View File
@@ -235,8 +235,10 @@ $db->exec("
company_id INT NOT NULL, company_id INT NOT NULL,
endpoint_key VARCHAR(50) NOT NULL, endpoint_key VARCHAR(50) NOT NULL,
name VARCHAR(100) DEFAULT '', name VARCHAR(100) DEFAULT '',
params TEXT DEFAULT NULL,
direction ENUM('upload','download') NOT NULL, direction ENUM('upload','download') NOT NULL,
url VARCHAR(500) DEFAULT '', url VARCHAR(500) DEFAULT '',
body_fields TEXT DEFAULT NULL,
method VARCHAR(10) DEFAULT 'GET', method VARCHAR(10) DEFAULT 'GET',
last_response TEXT, last_response TEXT,
last_called_at DATETIME, last_called_at DATETIME,