authorization_codes: crate, database, insert one

This commit is contained in:
Philippe Loctaux 2023-03-16 23:15:56 +01:00
parent 0b4aeb89cb
commit 471e2fc740
11 changed files with 159 additions and 0 deletions

View file

@ -0,0 +1,2 @@
insert into authorization_codes (code, app, user, expires_at)
values (?, ?, ?, datetime(?, 'unixepoch'))