@@ -1,5 +1,7 @@
|
||||
import {createConnection} from "typeorm";
|
||||
|
||||
export default async ()=> {
|
||||
return await createConnection();
|
||||
const connection = await createConnection();
|
||||
connection.synchronize();
|
||||
return connection;
|
||||
};
|
||||
Reference in New Issue
Block a user