18803: Save empty identity_url to database as null.
authorTom Clegg <tom@curii.com>
Fri, 25 Feb 2022 17:05:46 +0000 (12:05 -0500)
committerTom Clegg <tom@curii.com>
Fri, 25 Feb 2022 17:05:46 +0000 (12:05 -0500)
commitdf9e445e9f663fec6e33723aa45817c2edacac3d
treeb53ad629c980dc414e93a56b63e6facb969b46fc
parente75c53a080575b6af0a827f0a3464a672578a752
18803: Save empty identity_url to database as null.

Allows multiple records to have empty identity_url without hitting
unique constraint.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
services/api/app/models/user.rb
services/api/test/unit/user_test.rb