opengovsg/GoGovSG

Migration functions does not return accurate count of affected rows

gweiying opened this issue · 0 comments

Describe the bug

The functions to migrate links from one user to another currently do not return the accurate number of affected rows. For exampl, for migrate-user-links, the number of affected rows always returns as 1 even if more than 1 row has been transferred.

Screenshot 2022-04-06 at 4 33 38 PM

Expected outcome

Functions should return the accurate number of affected rows.