mirror of
https://github.com/logto-io/logto.git
synced 2025-03-31 22:51:25 -05:00
feat(core): insert log into DB (#587)
This commit is contained in:
parent
1653d020cf
commit
3dc07312a0
1 changed files with 6 additions and 0 deletions
6
packages/core/src/queries/log.ts
Normal file
6
packages/core/src/queries/log.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { CreateLog, Logs } from '@logto/schemas';
|
||||
|
||||
import { buildInsertInto } from '@/database/insert-into';
|
||||
import pool from '@/database/pool';
|
||||
|
||||
export const insertLog = buildInsertInto<CreateLog>(pool, Logs);
|
Loading…
Add table
Reference in a new issue