feat(db): migration and database setup

This commit is contained in:
2025-11-10 16:57:27 +02:00
parent 594b08a2d1
commit fbca02bec6
31 changed files with 2854 additions and 1928 deletions
+8
View File
@@ -0,0 +1,8 @@
import { db } from "@basango/db/client";
import type { MiddlewareHandler } from "hono";
export const withDatabase: MiddlewareHandler = async (c, next) => {
c.set("db", db);
await next();
};