不要怂,就是干,撸起袖子干!

Commit 18b0538f by Jan Aagaard Meier

Fix example in references: string

1 parent b75a6c29
Showing with 1 additions and 1 deletions
...@@ -428,7 +428,7 @@ Series = sequelize.define('Series', { ...@@ -428,7 +428,7 @@ Series = sequelize.define('Series', {
// Set FK relationship (hasMany) with `Trainer` // Set FK relationship (hasMany) with `Trainer`
trainer_id: { trainer_id: {
type: DataTypes.INTEGER, type: DataTypes.INTEGER,
references: "Trainer", references: "Trainers",
referencesKey: "id" referencesKey: "id"
} }
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!