add(migration): add two new columns to user for ID Check

This commit is contained in:
Marie 2024-08-19 07:19:25 +02:00
parent 531e4a43ad
commit a56066ce53
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
2 changed files with 23 additions and 0 deletions

View file

@ -108,6 +108,8 @@ type Source = {
maxFileSize: number;
};
stripeverify?: boolean;
pidFile: string;
};
@ -197,6 +199,8 @@ export type Config = {
maxFileSize: number;
} | undefined;
stripeverify: boolean | undefined;
pidFile: string;
};
@ -319,6 +323,7 @@ export function loadConfig(): Config {
perUserNotificationsMaxCount: config.perUserNotificationsMaxCount ?? 500,
deactivateAntennaThreshold: config.deactivateAntennaThreshold ?? (1000 * 60 * 60 * 24 * 7),
import: config.import,
stripeverify: config.stripeverify ?? false,
pidFile: config.pidFile,
};
}