message: Settings from database were ignored
diff: @@ -195,11 +195,11 @@ export async function load(): Promise<void> {
  settingInfo.default
  ];
  })
  - ) as Settings;
  + ) as any;
  // Load database values next
  const query = 'SELECT setting, value FROM server_settings';
  - const result: {setting: string; value: string}[] = (await db.query(query))[0];
  + const result: {setting: keyof Settings; value: string}[] = (await db.query(query))[0];
  for (const row of result) {
  @@ -214,6 +214,7 @@ export async function load(): Promise<void> {
  console.warn('The setting %s may not be set from the database. We ignored it');
  continue;
  }
  + (settings as any)[row.setting] = JSON.parse(row.value);
  }
  