[chore] refactor indexing scripts

This commit is contained in:
2026-03-12 08:18:40 -04:00
parent c10e34cc34
commit 485f26de7b
4 changed files with 111 additions and 151 deletions

View File

@@ -17,6 +17,7 @@ pool.on('error', (err) => {
});
export const db = drizzle({ client: pool, relations: relations, casing: 'snake_case' });
export type DBInstance = typeof db;
export const ClosePool = () => {
pool.end();