chore: Add database create & drop commands

This commit is contained in:
Faruk AYDIN
2021-10-05 18:37:57 +02:00
committed by Ali BARIN
parent c41d938f9e
commit 908f156a45
7 changed files with 193 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
import { Client } from 'pg';
const client = new Client({
host: 'localhost',
user: 'postgres',
port: 5432,
})
export default client;