Maurice
7a99190550
fix(db): reset the admin on Postgres and keep the key rotation off it
...
reset-admin.js opened data/travel.db with better-sqlite3 whatever the
engine, so on a Postgres install it created a stray SQLite file or reset
the admin in a leftover one. With TREK_DB_URL set it now resets the account
in Postgres through the built server's engine (its pool, SSL and write
lock, in one transaction), and refuses a TREK_DB_FILE beside the URL; the
SQLite branch is unchanged. migrate-encryption.ts cannot re-encrypt the
secrets in Postgres yet, so it now stops before it opens or writes any file
when TREK_DB_URL is set. The wiki says what each does on Postgres.
2026-11-17 12:24:08 +01:00
..
2026-11-17 12:23:50 +01:00
2026-11-17 12:24:07 +01:00
2026-10-10 21:23:37 +02:00
2026-11-17 12:23:36 +01:00
2026-11-17 12:24:07 +01:00
2026-10-23 22:00:06 +02:00
2026-10-22 21:34:15 +00:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-11-05 01:04:21 -03:00
2026-10-10 21:23:37 +02:00
2026-11-11 20:41:25 +00:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-10-12 17:06:52 +02:00
2026-11-13 17:42:43 +01:00
2026-11-13 17:42:43 +01:00
2026-10-10 21:23:37 +02:00
2026-10-14 20:21:38 +02:00
2026-10-08 13:04:39 +02:00
2026-10-10 20:15:54 +02:00
2026-11-17 12:24:07 +01:00
2026-10-06 19:27:30 +02:00
2026-10-10 21:23:37 +02:00
2026-11-11 21:26:31 +00:00
2026-10-16 23:14:52 +02:00
2026-11-17 08:44:10 +01:00
2026-11-16 10:45:22 +01:00
2026-11-17 12:24:08 +01:00
2026-11-01 22:26:40 +01:00
2026-11-13 17:43:48 +01:00
2026-10-10 21:23:37 +02:00
2026-11-04 10:56:36 +01:00
2026-10-10 21:23:37 +02:00
2026-11-04 11:37:52 +01:00
2026-10-06 19:27:30 +02:00
2026-11-05 01:04:21 -03:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-11-05 01:02:04 -03:00
2026-10-10 21:23:37 +02:00
2026-10-06 19:27:30 +02:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-10-10 20:16:04 +02:00
2026-10-19 22:15:22 +02:00
2026-10-14 08:39:31 +02:00
2026-10-14 20:21:39 +02:00
2026-10-20 15:11:08 +02:00
2026-10-14 14:02:27 +02:00
2026-10-15 21:51:22 +02:00
2026-10-18 21:35:02 +00:00
2026-10-14 08:39:31 +02:00
2026-10-20 15:05:51 +02:00
2026-10-20 18:40:48 +02:00
2026-10-20 21:56:06 +02:00
2026-10-20 18:40:48 +02:00
2026-10-20 17:51:27 +02:00
2026-10-20 07:09:56 +00:00
2026-10-20 15:11:08 +02:00
2026-10-10 21:23:37 +02:00
2026-10-20 21:11:44 +02:00
2026-11-05 01:04:21 -03:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-10-10 21:23:37 +02:00
2026-11-17 08:44:10 +01:00
2026-10-10 21:23:37 +02:00
2026-10-10 20:16:04 +02:00