diff --git a/backend/seeders/20251213155816-update-instructor-configuration-active.js b/backend/seeders/20251213155816-update-instructor-configuration-active.js new file mode 100644 index 0000000..638f51d --- /dev/null +++ b/backend/seeders/20251213155816-update-instructor-configuration-active.js @@ -0,0 +1,19 @@ +'use strict' + +module.exports = { + up: async (queryInterface) => { + await queryInterface.bulkUpdate( + 'configurations', + { name: 'Konfiguraatio 1' }, + { active: true } + ) + }, + + down: async (queryInterface) => { + await queryInterface.bulkUpdate( + 'configurations', + { name: 'Konfiguraatio 1' }, + { active: false } + ) + } +}