UNPKG

drizzle-setup

Version:

A powerful CLI tool to automatically scaffold and configure database setup using Drizzle ORM for PostgreSQL,SQLite,MySQL and More.

12 lines (10 loc) 237 B
import 'dotenv/config' import { defineConfig } from 'drizzle-kit' export default defineConfig({ out: './drizzle', schema: '{{path}}/schema.ts', dialect: 'sqlite', dbCredentials: { url: process.env.DB_FILE_NAME!, }, })