Skip to content

Conversation

@AlexSm13
Copy link

No description provided.

@honest-hrundel
Copy link

🍏 Пройден линтинг и базовые тесты

module.exports = (sequelize, DataTypes) => {
// Ваша модель корзины
return sequelize.define('carts', {
id: {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

если связи указаны правильно, id'шки сами подтянутся

module.exports = (sequelize, DataTypes) => {
// Ваша модель страны
return sequelize.define('countries', {
id: {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тоже

module.exports = (sequelize, DataTypes) => {
// Ваша модель отзыва
return sequelize.define('reviews', {
id: {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тоже

module.exports = (sequelize, DataTypes) => {
// Ваша модель сувенира
return sequelize.define('souvenirs', {
id: {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тоже

module.exports = (sequelize, DataTypes) => {
// Ваша модель тэга
return sequelize.define('tags', {
id: {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тоже

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants