import { createPool } from '../../../packages/db/src/index.js';
import { config } from './config.js';

export const pool = createPool({
  connectionString: config.databaseUrl,
  max: 5,
});

export async function closePool() {
  await pool.end();
}
