mirror of
https://github.com/ente-io/ente.git
synced 2025-08-07 23:18:10 +00:00
Schema update to enable tokenData fetch for passkey session
This commit is contained in:
parent
c95260a228
commit
ae170acb30
6
server/migrations/87_passkey_login_token.down.sql
Normal file
6
server/migrations/87_passkey_login_token.down.sql
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
-- Add types for the new dcs that are introduced for the derived data
|
||||||
|
|
||||||
|
ALTER TABLE passkey_login_sessions
|
||||||
|
DROP COLUMN IF EXISTS token_fetch_cnt,
|
||||||
|
DROP COLUMN IF EXISTS verified_at,
|
||||||
|
DROP COLUMN IF EXISTS token_data;
|
6
server/migrations/87_passkey_login_token.up.sql
Normal file
6
server/migrations/87_passkey_login_token.up.sql
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
-- Add columns to passkey_login_sessions table for facilitating token fetch in case of passkey redirect
|
||||||
|
-- not working.
|
||||||
|
ALTER TABLE passkey_login_sessions
|
||||||
|
ADD COLUMN IF NOT EXISTS token_fetch_cnt int default 0,
|
||||||
|
ADD COLUMN IF NOT EXISTS verified_at BIGINT,
|
||||||
|
ADD COLUMN IF NOT EXISTS token_data jsonb;
|
Loading…
x
Reference in New Issue
Block a user