Created
September 25, 2017 21:17
-
-
Save Abazhenov/f18dbf339f267411b79eef3284246dac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Story = require('./story'); | |
const Tag = require('./tag'); | |
const TagLink = require('./tagLink'); | |
const User = require('./user'); | |
TagLink.belongsTo(Tag); | |
Tag.Associate([Story, User]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment