mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-01 00:24:38 +02:00
refactor: rename passkeyChallenge to webauthnChallenge
- Renamed table for consistency with webauthnCredentials - Created migration script 1.8.1.ts for table rename - Updated schema definitions in SQLite and PostgreSQL - Maintains WebAuthn standard naming convention
This commit is contained in:
parent
baee745d3c
commit
db76558944
19 changed files with 1735 additions and 387 deletions
|
@ -13,6 +13,8 @@ bootstrapVolume();
|
|||
|
||||
function createDb() {
|
||||
const sqlite = new Database(location);
|
||||
sqlite.pragma('foreign_keys = ON');
|
||||
sqlite.exec('VACUUM;'); // This will initialize the database file with a valid SQLite header
|
||||
return DrizzleSqlite(sqlite, { schema });
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue