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:
1 parent
6c5a9fbad9
commit
8248a2ac27
11 files changed
+403
-1
No files matched your search
@@ -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();
|
||||
}
|
||||
Reference in new issue
Block a user