Add local dev setup, fix BRouter Dockerfile, archive change (#12)

This commit is contained in:
Ullrich Schäfer 2026-03-23 00:11:43 +01:00 committed by GitHub
parent 2d02ae3f9e
commit 52b2baaf58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 329 additions and 9 deletions

View file

@ -1,9 +1,17 @@
import { defineConfig } from "drizzle-kit";
import path from "node:path";
import { fileURLToPath } from "node:url";
const __dirname = path.dirname(fileURLToPath(import.meta.url));
export default defineConfig({
schema: ["./src/schema/planner.ts", "./src/schema/journal.ts"],
out: "./migrations",
schema: [
path.resolve(__dirname, "src/schema/planner.ts"),
path.resolve(__dirname, "src/schema/journal.ts"),
],
out: path.resolve(__dirname, "migrations"),
dialect: "postgresql",
schemaFilter: ["planner", "journal"],
dbCredentials: {
url: process.env.DATABASE_URL ?? "postgres://trails:trails@localhost:5432/trails",
},