update depedencies, changes to support updated authentication-module
[squeep-indie-auther] / src / db / postgres / sql / authentication-upsert.sql
index e86d4fbc17674ed2ebcc8a5f2f583bd7268a4ed8..f37892fac77b505b42aae0513af4211725a73dd2 100644 (file)
@@ -1,9 +1,10 @@
 --
 INSERT INTO authentication
-       (identifier, credential)
+       (identifier, credential, otp_key)
 VALUES
-       ($(identifier), $(credential))
+       ($(identifier), $(credential), $(otpKey))
 ON CONFLICT (identifier) DO UPDATE
 SET
        identifier = $(identifier),
-       credential = $(credential)
+       credential = $(credential),
+       otp_key = $(otpKey)