diff --git a/src/database/seeders/20240521201427-seed-carts.js b/src/database/seeders/20240521201427-seed-carts.js index cb4bf31..884c0a4 100644 --- a/src/database/seeders/20240521201427-seed-carts.js +++ b/src/database/seeders/20240521201427-seed-carts.js @@ -5,13 +5,8 @@ const { v4: uuidv4 } = require('uuid'); /** @type {import('sequelize-cli').Migration} */ module.exports = { async up(queryInterface, Sequelize) { - console.log('Getting the users') const [users] = await queryInterface.sequelize.query(`SELECT "userId" FROM "Users"`); - users.map(user => ( - console.log('The users ', user) - )) - const carts = users.map(user => ({ cartId: uuidv4(), // @ts-ignore