АК
ProductAttribute.hasMany(AttributeDescription, {foreignKey: "attribute_id"});
AttributeDescription.belongsTo(ProductAttribute, {foreignKey: "attribute_id",targetKey: "attribute_id"});Size: a a a
АК
ProductAttribute.hasMany(AttributeDescription, {foreignKey: "attribute_id"});
AttributeDescription.belongsTo(ProductAttribute, {foreignKey: "attribute_id",targetKey: "attribute_id"});YZ
YZ
АК
АК
YZ
YZ
YZ
АК
ON `oc_product_attribute`.`product_id` = `oc_attribute_descriptions`.`attribute_id`
YZ
АК
АК
АК
АК
АК
GS
YZ
AK
sequelize.define("some", {
uuid: {type: DataTypes.UUID, primaryKey: true}
}, {
modelName: 'some',
freezeTableName: true,
paranoid: true
})