allow null recipient UUIDs
This commit is contained in:
parent
21420e0d77
commit
fa1f0765d5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue