Files
importex-api/drizzle.config.ts
pius-coder e671c107ca
Some checks are pending
Deploy to Production / deploy (push) Waiting to run
feat: initial ImportEx API setup with Hono + Drizzle + PostgreSQL
- Hono server with CORS and logging middleware
- Drizzle ORM with PostgreSQL schema (users table)
- Environment config with Zod validation
- Dockerfile for production deployment
- Gitea Actions workflows for dev/main deployment to Coolify
- Health check route
2026-04-15 23:27:26 +01:00

11 lines
252 B
TypeScript

import { defineConfig } from "drizzle-kit";
import { env } from "./src/config/env";
export default defineConfig({
schema: "./src/db/schema/index.ts",
out: "./drizzle",
dialect: "postgresql",
dbCredentials: {
url: env.DATABASE_URL,
},
});