Kestutis Povilaitis
12/21/2021, 11:24 AMUUID usage in ROOM database with the new built in adapter. We decided to move from Long @PrimaryKey type to UUID because of integrity reasons. Now we need to migrate those ids. So when writing a migration we use raw SQL where we lose the ability to use built in converters (AFAIU at least) so we can’t insert it as String or something else (cant use the `UUIDUtil`from ROOM too). What would be the suggested way to migrate Long ids to UUID to use the build in adapter? Maybe someone else encountered a similar issue?Kestutis Povilaitis
12/21/2021, 11:54 AM