import type { Config } from 'drizzle-kit';

export default {
  schema: './src/lib/db/schema.ts',
  out: './drizzle/sqlite',
  dialect: 'sqlite',
  dbCredentials: {
    url: process.env.SQLITE_DB_PATH ?? process.env.MAILFORGE_DB_PATH ?? './data/mailforge.db',
  },
  strict: true,
  verbose: true,
} satisfies Config;
