1 parent
21645be25c
commit
b5cf040cf0
1 file changed
+3
-1
@@ -1,5 +1,7 @@
|
|||||||
import {createConnection} from "typeorm";
|
import {createConnection} from "typeorm";
|
||||||
|
|
||||||
export default async ()=> {
|
export default async ()=> {
|
||||||
return await createConnection();
|
const connection = await createConnection();
|
||||||
|
connection.synchronize();
|
||||||
|
return connection;
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user