Skip to content

Смирнов Алексей#14

Open
AlexSm13 wants to merge 1 commit intourfu-2017:masterfrom
AlexSm13:master
Open

Смирнов Алексей#14
AlexSm13 wants to merge 1 commit intourfu-2017:masterfrom
AlexSm13:master

Conversation

@AlexSm13
Copy link
Copy Markdown

No description provided.

@honest-hrundel
Copy link
Copy Markdown

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

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

Choose a reason for hiding this comment

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

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

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

Choose a reason for hiding this comment

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

тоже

Comment thread models/review.js
module.exports = (sequelize, DataTypes) => {
// Ваша модель отзыва
return sequelize.define('reviews', {
id: {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

тоже

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

Choose a reason for hiding this comment

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

тоже

Comment thread models/tag.js
module.exports = (sequelize, DataTypes) => {
// Ваша модель тэга
return sequelize.define('tags', {
id: {
Copy link
Copy Markdown

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