吳元皓 666f6ac38b refactor: update PostgreSQL import and initialization
- Changed the import statement from "bun" to "postgres".
- Simplified the PostgreSQL client initialization by directly using the connection string.
2025-05-11 00:17:42 +08:00

6 lines
115 B
TypeScript

import SQL from "postgres";
const postgres = SQL(`${process.env.POSTGRES_URL || ""}}`);
export default postgres;