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

Commit a54089c0 by Mick Hansen

Fix model name typo in BTM foreignKey/otherKey generation test.

1 parent 6a0912ad
......@@ -813,7 +813,7 @@ describe(Support.getTestDialectTeaser('BelongsToMany'), function() {
it('should infer otherKey from paired BTM relationship with a through string defined', function () {
var User = this.sequelize.define('User', {});
var Place = this.sequelize.define('User', {});
var Place = this.sequelize.define('Place', {});
var Places = User.belongsToMany(Place, { through: 'user_places', foreignKey: 'user_id' });
var Users = Place.belongsToMany(User, { through: 'user_places', foreignKey: 'place_id' });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!