mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
feat: implement go_links table and update database connection handling
This commit is contained in:
parent
4aab557523
commit
1208866757
4 changed files with 44 additions and 14 deletions
7
server/components/postgres.ts
Normal file
7
server/components/postgres.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { SQL } from "bun";
|
||||
|
||||
const postgres = new SQL({
|
||||
url: process.env.POSTGRES_URL,
|
||||
})
|
||||
|
||||
export default postgres;
|
Loading…
Add table
Add a link
Reference in a new issue