From 7e56cf2d1574f16edd97b29168365e8b3d19d9cd Mon Sep 17 00:00:00 2001 From: James Elliott Date: Sun, 12 Feb 2023 12:48:39 +1100 Subject: [PATCH] test(suites): fix postgres --- .../migrations/V0008.WebauthnMultiCookieDomain.postgres.up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/storage/migrations/V0008.WebauthnMultiCookieDomain.postgres.up.sql b/internal/storage/migrations/V0008.WebauthnMultiCookieDomain.postgres.up.sql index c8867a95a..10172de0f 100644 --- a/internal/storage/migrations/V0008.WebauthnMultiCookieDomain.postgres.up.sql +++ b/internal/storage/migrations/V0008.WebauthnMultiCookieDomain.postgres.up.sql @@ -1,3 +1,3 @@ DROP INDEX webauthn_devices_lookup_key; -ALTER TABLE webauthn_devices COLUMN rpid SET DATA TYPE VARCHAR(512); +ALTER TABLE webauthn_devices ALTER COLUMN rpid SET DATA TYPE VARCHAR(512); CREATE UNIQUE INDEX webauthn_devices_lookup_key ON webauthn_devices (rpid, username, description);