allow null recipient UUIDs

This commit is contained in:
finn 2022-03-02 13:42:12 -08:00
parent 21420e0d77
commit fa1f0765d5

View file

@ -218,7 +218,7 @@ func moveRecipients(source *sql.DB, dest *sql.DB) error {
var ( var (
rowID int64 rowID int64
accountUUID uuid.UUID accountUUID uuid.UUID
recipientUUID uuid.UUID recipientUUID uuid.NullUUID
e164 sql.NullString e164 sql.NullString
) )
err = rows.Scan(&rowID, &accountUUID, &recipientUUID, &e164) err = rows.Scan(&rowID, &accountUUID, &recipientUUID, &e164)