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