blob: 69c117c140b2cd3120e8b43594df0e9d55480bf5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { initDb } from './db/postgre';
async function main() {
try {
console.log('Connecting database...');
await initDb(false, true, true);
} catch (e) {
console.error('Cannot connect to database', null, true);
console.error(e);
process.exit(1);
}
console.log('Done :)');
}
main();
|