Skip to content
This repository was archived by the owner on Jun 15, 2026. It is now read-only.

Commit a88a678

Browse files
committed
feat: add script to set confirmation email locally
1 parent ae24edf commit a88a678

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tools/confirm-user.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
docker run --rm -i --network=host \
5+
-e PGPASSWORD=default \
6+
postgres:15.8-bookworm \
7+
psql -h localhost -U tasknoteuser -d tasknote \
8+
-c "UPDATE tasknote.users SET email_confirmed_at = created_at WHERE id > 0;"

0 commit comments

Comments
 (0)