guix-data-service/tests
Christopher Baines 84197686ce Fix some duplicated values in tables
The licenses table, along with the package_metadata table had duplicate
values. This could happen as the unique constraints on those tables didn't
properly account for the nullable fields.

The duplicates in those tables also affected the license_sets, packages,
package_derivations tables in a similar way. Finally, the
guix_revision_package_derivations table was also affected.

This commit adds a migration to fix the data, as well as the constraints. THe
code to populate the licenses and package_metadata tables is also updated.
2019-08-04 09:39:40 +01:00
..
branch-updated-emails.scm Associate a name with database connections 2019-07-12 19:49:26 +01:00
driver.scm Add a (tests driver) module 2019-05-12 17:32:21 +01:00
jobs-load-new-guix-revision.scm Switch to processing jobs in parallel 2019-07-12 23:00:44 +01:00
mock-inferior.scm Store and display the location of packages 2019-05-13 21:07:48 +01:00
model-derivation.scm Associate a name with database connections 2019-07-12 19:49:26 +01:00
model-git-branch.scm Associate a name with database connections 2019-07-12 19:49:26 +01:00
model-git-repository.scm Associate a name with database connections 2019-07-12 19:49:26 +01:00
model-license-set.scm Fix some duplicated values in tables 2019-08-04 09:39:40 +01:00
model-license.scm Fix some duplicated values in tables 2019-08-04 09:39:40 +01:00
model-package-metadata.scm Fix some duplicated values in tables 2019-08-04 09:39:40 +01:00