static associate({ Interests, Tables, Themes }) {
      // define association here
      this.belongsToMany(Interests, { through: 'Tables', foreignKey: 'user_id' });
      this.belongsToMany(Themes, { through: 'Tables', foreignKey: 'user_id' });

      // this.hasMany(models.Interests);
    }
/**
     * Helper method for defining associations.
     * This method is not a part of Sequelize lifecycle.
     * The `models/index` file will call this method automatically.
     */
Helper method for defining associations.
This method is not a part of Sequelize lifecycle.
The `models/index` file will call this method automatically.
Helper method for defining associations . This method is not a part of Sequelize lifecycle . The ` models / index ` file will call this method automatically .
static associate({ Interests, Tables, Themes }) {
      this.belongsToMany(Interests, { through: 'Tables', foreignKey: 'user_id' });
      this.belongsToMany(Themes, { through: 'Tables', foreignKey: 'user_id' });
    }
static associate ( { Interests , Tables , Themes } ) { this . belongsToMany ( Interests , { through : 'Tables' , foreignKey : 'user_id' } ) ; this . belongsToMany ( Themes , { through : 'Tables' , foreignKey : 'user_id' } ) ; }
Helper method for defining associations.
Helper method for defining associations .
// define association here // this.hasMany(models.Interests);