@@ -1,5 +1,8 @@
|
||||
import { createConnection } from "typeorm";
|
||||
|
||||
/**
|
||||
* Loader for the database that creates the database connection and initializes the database tabels.
|
||||
*/
|
||||
export default async () => {
|
||||
const connection = await createConnection();
|
||||
connection.synchronize();
|
||||
|
||||
Reference in New Issue
Block a user