fix: Exit process after creating database and user

This commit is contained in:
Faruk AYDIN
2024-01-13 02:59:00 +01:00
parent 01ef97949b
commit 817db026b1

View File

@@ -61,6 +61,7 @@ export const createDatabaseAndUser = async (
await grantPrivileges(database, user);
await client.end();
process.exit(0);
};
export const createDatabase = async (database = appConfig.postgresDatabase) => {