/**
 * Legacy db client — re-exports from the new `src/core/db/client.ts` so
 * existing code in `src/lib/db/*-repo.ts` and `src/lib/email/*` keeps
 * working during the refactor.
 *
 * NEW code should import from `@/core/db/client` directly.
 * Phase G-Full will migrate the repo-files to the new path and delete this shim.
 */

import { getDb, type Db } from '@/core/db/client';
import * as schema from './schema';

export const db: Db = getDb();
export { schema };
export type DB = Db;
