Enabled the table creation logic

This commit is contained in:
Mathias Wagner
2022-04-06 20:44:17 +02:00
parent 08e71b4390
commit 81f6bb6514
+4
View File
@@ -15,6 +15,10 @@ try {
module.exports.database = db;
// Create all tables & insert the defaults
require("./controller/tables").create();
require("./controller/tables").insert();
// Register middlewares
app.use(express.json());