fix debug: quitar creado_at del test INSERT
This commit is contained in:
+2
-2
@@ -146,8 +146,8 @@ if ($hoyTurnos) {
|
|||||||
$testToken = 'DEBUG-TEST-' . time();
|
$testToken = 'DEBUG-TEST-' . time();
|
||||||
$ins = $pdo->prepare(
|
$ins = $pdo->prepare(
|
||||||
"INSERT IGNORE INTO turnero_consentimientos
|
"INSERT IGNORE INTO turnero_consentimientos
|
||||||
(turno_id, formulario_id, token, estado, creado_at)
|
(turno_id, formulario_id, token, estado)
|
||||||
VALUES (?, ?, ?, 'pendiente', NOW())"
|
VALUES (?, ?, ?, 'pendiente')"
|
||||||
);
|
);
|
||||||
$ins->execute([$turnoTest['id'], $formTest['id'], $testToken]);
|
$ins->execute([$turnoTest['id'], $formTest['id'], $testToken]);
|
||||||
if ($ins->rowCount()) {
|
if ($ins->rowCount()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user