projects
/
squeep-indie-auther
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update depedencies, changes to support updated authentication-module
[squeep-indie-auther]
/
src
/
db
/
postgres
/
sql
/
authentication-upsert.sql
diff --git
a/src/db/postgres/sql/authentication-upsert.sql
b/src/db/postgres/sql/authentication-upsert.sql
index e86d4fbc17674ed2ebcc8a5f2f583bd7268a4ed8..f37892fac77b505b42aae0513af4211725a73dd2 100644
(file)
--- a/
src/db/postgres/sql/authentication-upsert.sql
+++ b/
src/db/postgres/sql/authentication-upsert.sql
@@
-1,9
+1,10
@@
--
INSERT INTO authentication
--
INSERT INTO authentication
- (identifier, credential)
+ (identifier, credential
, otp_key
)
VALUES
VALUES
- ($(identifier), $(credential))
+ ($(identifier), $(credential)
, $(otpKey)
)
ON CONFLICT (identifier) DO UPDATE
SET
identifier = $(identifier),
ON CONFLICT (identifier) DO UPDATE
SET
identifier = $(identifier),
- credential = $(credential)
+ credential = $(credential),
+ otp_key = $(otpKey)