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

Commit 0cd3031e by ivesdebruycker Committed by Sushant

No constraints should be created between Tag and Post (#6252)

1 parent 00bd62c7
Showing with 2 additions and 1 deletions
...@@ -376,7 +376,8 @@ Tag.belongsToMany(Post, { ...@@ -376,7 +376,8 @@ Tag.belongsToMany(Post, {
model: ItemTag, model: ItemTag,
unique: false unique: false
}, },
foreignKey: 'tag_id' foreignKey: 'tag_id',
constraints: false
}); });
``` ```
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!