mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-04 15:39:45 +00:00
fix: migration clears allowed users groups
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
PRAGMA foreign_keys=OFF;
|
||||||
---------------------------
|
---------------------------
|
||||||
-- Delete all orphaned rows
|
-- Delete all orphaned rows
|
||||||
---------------------------
|
---------------------------
|
||||||
@@ -171,3 +172,6 @@ SELECT id, created_at, name, credential_id, public_key, attestation_type,
|
|||||||
FROM webauthn_credentials;
|
FROM webauthn_credentials;
|
||||||
DROP TABLE webauthn_credentials;
|
DROP TABLE webauthn_credentials;
|
||||||
ALTER TABLE webauthn_credentials_new RENAME TO webauthn_credentials;
|
ALTER TABLE webauthn_credentials_new RENAME TO webauthn_credentials;
|
||||||
|
|
||||||
|
PRAGMA foreign_keys=ON;
|
||||||
|
PRAGMA foreign_key_check;
|
||||||
Reference in New Issue
Block a user