Update to Koa 2
This commit is contained in:
parent
42b6cd5a32
commit
87459b2acc
15 changed files with 467 additions and 419 deletions
|
@ -27,7 +27,7 @@ export default function (sequelize, DataTypes) {
|
|||
},
|
||||
});
|
||||
|
||||
Album.associate = function (models) {
|
||||
Album.associate = function associate(models) {
|
||||
Album.hasMany(models.match);
|
||||
Album.belongsTo(models.artist);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue