22 lines
556 B
JavaScript
22 lines
556 B
JavaScript
|
|
'use strict';
|
||
|
|
|
||
|
|
module.exports = {
|
||
|
|
up: async (queryInterface, Sequelize) => {
|
||
|
|
const now = new Date();
|
||
|
|
await queryInterface.bulkInsert('competition_info', [
|
||
|
|
{
|
||
|
|
competition_name: '金砖国家职业技能大赛-卫星导航技术应用赛项',
|
||
|
|
competition_code: 'BRICS2026-ST-027',
|
||
|
|
created_at: now,
|
||
|
|
updated_at: now,
|
||
|
|
},
|
||
|
|
], {});
|
||
|
|
},
|
||
|
|
|
||
|
|
down: async (queryInterface, Sequelize) => {
|
||
|
|
await queryInterface.bulkDelete('competition_info', {
|
||
|
|
competition_code: 'BRICS2026-ST-027',
|
||
|
|
}, {});
|
||
|
|
},
|
||
|
|
};
|