Migrate sourceDevice from TEXT to INTEGER

This commit is contained in:
Fedor Indutny 2021-08-02 14:55:31 -07:00 committed by GitHub
parent eccd682920
commit 6637fc2b95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 6 deletions

View file

@ -1149,7 +1149,7 @@ async function getMessageBySender(
}: {
source: string;
sourceUuid: string;
sourceDevice: string;
sourceDevice: number;
sent_at: number;
},
{ Message }: { Message: typeof MessageModel }