hippofish/src/init.ts
2019-04-09 23:29:48 +09:00

10 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);
});