Updated loader comments and descriptions

ref #39
This commit is contained in:
2020-12-20 19:01:03 +01:00
parent de91d491e5
commit 43a4f1118d
4 changed files with 7 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ import { User } from '../models/entities/User';
import SeedUsers from '../seeds/SeedUsers';
/**
* Loader for the database that creates the database connection and initializes the database tabels.
* It also triggers the seeding process if no users got detected in the database.
*/
export default async () => {
const connection = await createConnection();