added new seed to update default instructor's configuration to active

This commit is contained in:
Aaro Koivukangas
2025-12-13 18:02:19 +02:00
parent 7637d51964
commit 8fb8ae3db5
@@ -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 }
)
}
}