Chore: Update settings.ts (#23769)
Co-authored-by: Diego Sampaio <chinello@gmail.com>pull/23776/head
parent
2f442805f3
commit
8ccbf9f840
@ -0,0 +1,16 @@ |
||||
import { Settings } from '../../../app/models/server/raw'; |
||||
import { addMigration } from '../../lib/migrations'; |
||||
|
||||
addMigration({ |
||||
version: 249, |
||||
async up() { |
||||
await Settings.updateOne({ |
||||
_id: 'Industry', |
||||
value: 'blockchain', |
||||
}, { |
||||
$set: { |
||||
value: 'other', |
||||
}, |
||||
}); |
||||
}, |
||||
}); |
Loading…
Reference in new issue