Due to a bug introduced in df8e4e6c88a8bfb6c1ec6b07dcda64093b477cbe, IPv6
addresses in the configuration file might have ended up in the database
tagged with type = "dns", which is incorrect. The bug was fixed in
a2e72b48e79d090d33f6c13c485239947de0522e.
However, Radicle 1.7.0 was released in between those two versions, so a this migration to repair the entries is added.
Due to a bug introduced in df8e4e6c88a8bfb6c1ec6b07dcda64093b477cbe, IPv6
addresses in the configuration file might have ended up in the database
tagged with type = "dns", which is incorrect. The bug was fixed in
a2e72b48e79d090d33f6c13c485239947de0522e.
However, Radicle 1.7.0 was released in between those two versions, so a this migration to repair the entries is added.
Fix whitespace
Use single quotes for values.
Consider uniqueness constraints
Rebase
REVIEW
Add the migration to the MIGRATIONS.
Add the tests under a test::migration_8 module. This required adding
some test setup, mainly adding a Database::memory_up_to_migration
constructor that is only available to test code.
Squash in review.
Rebase