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
/
sqlite
/
sql
/
authentication-upsert.sql
diff --git
a/src/db/sqlite/sql/authentication-upsert.sql
b/src/db/sqlite/sql/authentication-upsert.sql
index 8a141ee49bbc748d29af0316d7ea586e6c925fa9..b83071926d346834adf7b4749540489760c17c8a 100644
(file)
--- a/
src/db/sqlite/sql/authentication-upsert.sql
+++ b/
src/db/sqlite/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