mirror of
https://github.com/Ratstail91/sineql-demo.git
synced 2026-05-06 23:50:11 +10:00
Updated the dependencies, adjusted book handler code
This commit is contained in:
@@ -3,6 +3,7 @@ const Author = require('./author');
|
||||
|
||||
//relations
|
||||
Author.hasMany(Book);
|
||||
Book.belongsTo(Author);
|
||||
|
||||
//collate
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user