preciazo/db-datos/drizzle.config.js
2024-01-25 18:11:17 -03:00

11 lines
243 B
JavaScript

export const DB_PATH = process.env.DB_PATH ?? "../sqlite.db";
/** @type { import("drizzle-kit").Config } */
export default {
schema: "./schema.js",
out: "./drizzle",
driver: "better-sqlite",
dbCredentials: {
url: DB_PATH,
},
};