Chore: Update settings.ts (#23769)

Co-authored-by: Diego Sampaio <chinello@gmail.com>
pull/23776/head
Guilherme Gazzo 4 years ago committed by GitHub
parent 2f442805f3
commit 8ccbf9f840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/lib/server/startup/settings.ts
  2. 1
      server/startup/migrations/index.ts
  3. 16
      server/startup/migrations/v249.ts

@ -1675,10 +1675,6 @@ settingsRegistry.addGroup('Setup_Wizard', function() {
key: 'aerospaceDefense',
i18nLabel: 'Aerospace_and_Defense',
},
{
key: 'blockchain',
i18nLabel: 'Blockchain',
},
{
key: 'consulting',
i18nLabel: 'Consulting',

@ -72,4 +72,5 @@ import './v245';
import './v246';
import './v247';
import './v248';
import './v249';
import './xrun';

@ -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…
Cancel
Save