fix: use drizzle

This commit is contained in:
2025-01-07 14:39:12 +01:00
parent 811dccfe16
commit 8292084341
14 changed files with 2665 additions and 1099 deletions

View File

@@ -1,5 +1,7 @@
import { db, tasks } from "$lib/db/schema"
export const load = async () => {
return {
tasks: []
tasks: await db.select().from(tasks)
}
}