@@ -1,5 +1,7 @@
|
|||||||
import { sequelize } from "@server/storage/database";
|
import { sequelize } from "@server/storage/database";
|
||||||
|
|
||||||
module.exports = async function () {
|
module.exports = async function (opts) {
|
||||||
await sequelize.close();
|
if (!opts.watch && !opts.watchAll) {
|
||||||
|
await sequelize.close();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user