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-10-25 02:10:39 +00:00
2026-07-18 22:13:52 +02:00
2026-11-17 11:10:01 +01:00
2026-10-25 02:10:39 +00:00
2026-11-13 10:17:11 +01:00
2026-10-30 16:16:10 +01:00
2026-11-13 10:17:04 +01:00
2026-10-24 22:42:18 +00:00
2026-10-24 22:42:18 +00:00
2026-10-25 02:10:39 +00:00
2026-10-24 22:42:18 +00:00
2026-10-29 13:34:28 +01:00
2026-10-24 22:42:18 +00:00
2026-10-25 02:10:39 +00:00
2026-11-13 10:17:26 +01:00
2026-11-05 14:36:22 +01:00
2026-10-30 16:16:10 +01:00
2026-11-12 15:39:21 +01:00
2026-10-24 22:42:18 +00:00
2026-11-13 20:49:08 +01:00
2026-10-24 22:42:18 +00:00
2026-10-25 02:10:39 +00:00
2026-10-25 02:10:39 +00:00
2026-11-12 15:39:21 +01:00
2026-11-04 22:45:32 -03:00
2026-11-13 20:57:55 +01:00
2026-11-13 10:17:03 +01:00
2026-11-13 10:17:25 +01:00
2026-10-25 02:10:39 +00:00
2026-10-01 19:40:22 +02:00
2026-10-24 22:42:17 +00:00
2026-11-13 10:17:12 +01:00
2026-10-31 00:40:23 +00:00
2026-10-25 02:10:39 +00:00
2026-11-13 10:17:04 +01:00
2026-10-14 13:24:27 +02:00
2026-11-17 12:24:08 +01:00
2026-10-24 22:42:18 +00:00
2026-11-13 10:17:12 +01:00
2026-10-25 00:46:24 +00:00
2026-10-24 22:42:18 +00:00
2026-10-24 22:42:18 +00:00
2026-10-24 22:42:18 +00:00
2026-10-25 02:10:39 +00:00
2026-11-17 12:24:08 +01:00
2026-11-17 12:24:08 +01:00
2026-10-24 22:42:18 +00:00
2026-10-31 00:40:23 +00:00
2026-10-25 02:10:39 +00:00
2026-10-25 02:10:39 +00:00
2026-11-17 12:24:07 +01:00
2026-10-24 22:42:18 +00:00
2026-11-17 11:10:01 +01:00
2026-10-24 22:42:17 +00:00
2026-10-24 22:42:18 +00:00
2026-11-11 20:57:42 +00:00
2026-10-24 22:42:18 +00:00
2026-10-24 22:42:18 +00:00
2026-10-25 02:10:39 +00:00
2026-11-04 14:26:25 +01:00
2026-10-31 00:40:23 +00:00
2026-11-13 10:17:26 +01:00
2026-11-13 10:17:12 +01:00
2026-11-13 10:17:06 +01:00
2026-11-14 17:48:57 +01:00
2026-10-24 22:42:17 +00:00
2026-04-20 10:11:53 +02:00
2026-10-25 02:10:39 +00:00
2026-10-24 22:42:17 +00:00
2026-11-17 08:44:10 +01:00
2026-11-13 10:17:12 +01:00
2026-11-13 10:17:26 +01:00
2026-11-12 08:42:16 +01:00
2026-10-25 02:10:39 +00:00
2026-10-25 02:10:39 +00:00
2026-10-25 02:10:39 +00:00
2026-11-12 15:39:21 +01:00
2026-10-25 02:10:39 +00:00
2026-10-25 02:10:39 +00:00
2026-10-25 02:10:39 +00:00
2026-10-24 22:42:18 +00:00
2026-11-13 10:17:12 +01:00
2026-10-24 22:42:18 +00:00
2026-11-17 08:44:10 +01:00
2026-09-25 09:19:11 +02:00
2026-10-08 18:41:02 +02:00
2026-10-08 18:41:02 +02:00
2026-09-20 12:11:41 +02:00
2026-10-24 22:42:18 +00:00
2026-10-24 22:42:17 +00:00
2026-10-24 22:42:17 +00:00
2026-10-25 02:10:39 +00:00
2026-10-24 22:42:17 +00:00
2026-11-13 17:46:19 +01:00
2026-10-24 22:42:18 +00:00
2026-11-14 17:48:57 +01:00
2026-10-29 13:34:28 +01:00
2026-10-24 22:42:18 +00:00
2026-11-17 08:44:10 +01:00
2026-10-24 22:42:18 +00:00
2026-11-11 20:59:59 +00:00
2026-11-13 16:39:46 +01:00
2026-10-31 03:25:55 +00:00
2026-10-25 02:10:39 +00:00
2026-10-25 02:10:39 +00:00
2026-10-25 02:10:39 +00:00
2026-11-13 10:17:04 +01:00
2026-11-17 12:24:08 +01:00
2026-10-24 22:42:18 +00:00
2026-11-17 12:24:07 +01:00
2026-11-13 10:17:06 +01:00
2026-10-24 22:42:18 +00:00
2026-10-24 22:42:18 +00:00
2026-10-25 02:10:39 +00:00
2026-09-28 12:19:49 +02:00