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