mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-17 01:16:27 +01:00
11 lines
232 B
TypeScript
11 lines
232 B
TypeScript
import { initDb } from './db/postgre';
|
|
|
|
console.log('Init database...');
|
|
|
|
initDb(false, true, true).then(() => {
|
|
console.log('Done :)');
|
|
process.exit(0);
|
|
}, e => {
|
|
console.error('Failed to init database');
|
|
console.error(e);
|
|
});
|