preciazo/db-datos/drizzle.config.js

12 lines
237 B
JavaScript
Raw Normal View History

2024-01-15 18:46:34 +00:00
export const DB_PATH = process.env.DB_PATH ?? "../sqlite.db";
2023-12-26 02:05:50 +00:00
/** @type { import("drizzle-kit").Config } */
2023-12-23 23:29:55 +00:00
export default {
2024-01-25 21:11:17 +00:00
schema: "./schema.js",
2023-12-23 23:29:55 +00:00
out: "./drizzle",
2024-07-13 21:08:41 +00:00
dialect: "sqlite",
2023-12-23 23:29:55 +00:00
dbCredentials: {
2023-12-27 22:55:08 +00:00
url: DB_PATH,
2023-12-23 23:29:55 +00:00
},
};