"fix-greg-email-fresh-pgdata4"

This commit is contained in:
deploy
2026-04-29 12:20:00 +02:00
parent d8c95b78ec
commit 1fc7655fa4
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ async function runInitUsers(): Promise<void> {
await db.query(
`INSERT INTO users (name, email, password_hash)
VALUES ($1, $2, $3)
ON CONFLICT (email) DO NOTHING`,
ON CONFLICT (email) DO UPDATE SET name = EXCLUDED.name`,
[user.name, user.email, hash]
);
console.log(` ✅ Utilisateur prêt : ${user.name} <${user.email}>`);