Set up vouchers base

This commit is contained in:
ZacTohZY
2024-08-11 02:49:14 +08:00
parent 307be23e56
commit b35c74ac68
9 changed files with 712 additions and 28 deletions

View File

@@ -40,6 +40,9 @@ app.use("/hbcform", HBCformRoute);
const connections = require("./routes/connections");
app.use("/connections", connections);
const vouchers = require("./routes/vouchers.js");
app.use("/vouchers", vouchers);
db.sequelize
.sync({ alter: true })
.then(() => {