preciazo/db-datos/drizzle.config.js
2024-08-13 20:13:02 -03:00

11 lines
233 B
JavaScript

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