Starting v1.2.6 `database.generateId = false` still inserts Id into the verification table

On v1.2.6 onward (was working in v1.2.5), when setting database.generateId = false Id is still being generated for the verification table. I'm using pg with kysely-postgres-js
Postgres query
attributes: {
"query": "insert into \"verification\" (\"identifier\", \"value\", \"expires_ts\", \"created_ts\", \"updated_ts\", \"id\") values ($1, $2, $3, $4, $5, $6) returning *",
"params": [
"c571Bde4aYfNW31g0Px7Rz5pSnZanSCr",
"{\"callbackURL\":\"http://localhost:3000/auth/dashboard\",\"codeVerifier\":\"T5_-2C_NSaAXe4nWOLNhgBgXwxt2JNncforilM3PhfZ_PSwJUcuejqF1xisvtJbztmUh55bIrVJ2MENH1fGc9pNKawRx3vom-d1ByYpEYylCyRR8lWIuwHcUkNJdVH1g\",\"expiresAt\":1744898245475}",
"2025-04-17T13:57:25.475Z",
"2025-04-17T13:47:25.475Z",
"2025-04-17T13:47:25.475Z",
"73F7RfMVgfbtZNQtcuqjnDY2ILvgqBAJ"
]
Postgres query
attributes: {
"query": "insert into \"verification\" (\"identifier\", \"value\", \"expires_ts\", \"created_ts\", \"updated_ts\", \"id\") values ($1, $2, $3, $4, $5, $6) returning *",
"params": [
"c571Bde4aYfNW31g0Px7Rz5pSnZanSCr",
"{\"callbackURL\":\"http://localhost:3000/auth/dashboard\",\"codeVerifier\":\"T5_-2C_NSaAXe4nWOLNhgBgXwxt2JNncforilM3PhfZ_PSwJUcuejqF1xisvtJbztmUh55bIrVJ2MENH1fGc9pNKawRx3vom-d1ByYpEYylCyRR8lWIuwHcUkNJdVH1g\",\"expiresAt\":1744898245475}",
"2025-04-17T13:57:25.475Z",
"2025-04-17T13:47:25.475Z",
"2025-04-17T13:47:25.475Z",
"73F7RfMVgfbtZNQtcuqjnDY2ILvgqBAJ"
]
1 Reply
bekacru
bekacru2d ago
use database.advanced.generateId instead

Did you find this page helpful?