| 1234567891011121314151617181920212223 |
- 'use strict';
- /** @type {import('sequelize-cli').Migration} */
- module.exports = {
- async up (queryInterface, Sequelize) {
- await queryInterface.bulkInsert('favorites', [
- {
- client_id: 1,
- hall_id: 1,
- photographer_id: null
- },
- {
- client_id: 2,
- hall_id: null,
- photographer_id: 1
- }
- ], {});
- },
- async down (queryInterface, Sequelize) {
- await queryInterface.bulkDelete('favorites', null, {});
- }
- };
|