fix: sql migration
parent
40e247fcee
commit
be21d73c72
|
@ -1,2 +1,3 @@
|
||||||
DROP INDEX webauthn_devices_lookup_key;
|
DROP INDEX webauthn_devices_lookup_key ON webauthn_devices;
|
||||||
|
ALTER TABLE webauthn_devices MODIFY COLUMN rpid VARCHAR(512);
|
||||||
CREATE UNIQUE INDEX webauthn_devices_lookup_key ON webauthn_devices (rpid, username, description);
|
CREATE UNIQUE INDEX webauthn_devices_lookup_key ON webauthn_devices (rpid, username, description);
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
DROP INDEX webauthn_devices_lookup_key;
|
DROP INDEX webauthn_devices_lookup_key;
|
||||||
|
ALTER TABLE webauthn_devices COLUMN rpid SET DATA TYPE VARCHAR(512);
|
||||||
CREATE UNIQUE INDEX webauthn_devices_lookup_key ON webauthn_devices (rpid, username, description);
|
CREATE UNIQUE INDEX webauthn_devices_lookup_key ON webauthn_devices (rpid, username, description);
|
||||||
|
|
Loading…
Reference in New Issue