feat(db): Bun.SQL Kysely dialect for sqlite and postgres

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas WintherandClaude Opus 5.5 committed 2026-10-30 15:30:49 +01:00
1 parent 6c5a9fbad9
commit 8248a2ac27
11 files changed
+403 -1

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
/** Time-sortable UUIDv7, generated in app code. */
export function newId(): string {
return Bun.randomUUIDv7();
}
/** Current time as an ISO-8601 UTC string, the storage format for timestamps. */
export function nowIso(): string {
return new Date().toISOString();
}