1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-13 22:28:58 +09:00
cherrypick/src/init.ts
2019-04-09 23:29:48 +09:00

11 lines
214 B
TypeScript

import { initDb } from './db/postgre';
console.log('Init database...');
initDb(false, true, true).then(() => {
console.log('Done :)');
}, e => {
console.error('Failed to init database');
console.error(e);
});