parent
21645be25c
commit
b5cf040cf0
|
@ -1,5 +1,7 @@
|
|||
import {createConnection} from "typeorm";
|
||||
|
||||
export default async ()=> {
|
||||
return await createConnection();
|
||||
const connection = await createConnection();
|
||||
connection.synchronize();
|
||||
return connection;
|
||||
};
|
Loading…
Reference in New Issue