mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 17:03:09 +02:00
10 lines
214 B
TypeScript
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);
|
|
});
|