Updated the dependencies, adjusted book handler code

This commit is contained in:
2023-05-02 06:50:40 +10:00
parent 19b661f9bc
commit 40ce5badbd
8 changed files with 461 additions and 66 deletions
+1
View File
@@ -3,6 +3,7 @@ const Author = require('./author');
//relations
Author.hasMany(Book);
Book.belongsTo(Author);
//collate
module.exports = {