fix: import-zip — VALUES avait 1 ? en trop (34 pour 33 colonnes)
This commit is contained in:
@@ -522,7 +522,7 @@ router.post('/import-zip', zipUpload.single('file'), async (req, res, next) => {
|
|||||||
garantie_rachat, statistiques_publiques, bonus_inscription, marche_secondaire, investissement_auto,
|
garantie_rachat, statistiques_publiques, bonus_inscription, marche_secondaire, investissement_auto,
|
||||||
url_trustpilot, url_linkedin,
|
url_trustpilot, url_linkedin,
|
||||||
logo_filename, icone_filename, updated_at)
|
logo_filename, icone_filename, updated_at)
|
||||||
VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,datetime('now'))
|
VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,datetime('now'))
|
||||||
`).run(p.nom, ...fields);
|
`).run(p.nom, ...fields);
|
||||||
refId = r.lastInsertRowid;
|
refId = r.lastInsertRowid;
|
||||||
created++;
|
created++;
|
||||||
|
|||||||
Reference in New Issue
Block a user