mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-02 00:07:56 +01:00
Relax migration schema a bit
This commit is contained in:
@@ -8,6 +8,7 @@ import { safeParseUnknown } from '../../util/schemas.std.js';
|
||||
|
||||
const toNullable = z
|
||||
.string()
|
||||
.or(z.null())
|
||||
.optional()
|
||||
.transform(value => value || undefined);
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ describe('SQL/updateToSchemaVersion1680', () => {
|
||||
systemGivenName: '',
|
||||
systemFamilyName: '',
|
||||
systemNickname: '',
|
||||
nicknameGivenName: '',
|
||||
nicknameGivenName: null,
|
||||
nicknameFamilyName: '',
|
||||
username: '',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user