parent
21645be25c
commit
b5cf040cf0
@ -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;
|
||||||
};
|
};
|
Loading…
x
Reference in New Issue
Block a user