We need to know which repository is related to a given Usage of a Quota:
[x] Change the model and add a nodeId attribute.
[x] Change the quotas table and add a uniqueness constraint for the subscriptionId and quotaName field combinations so we only have one row for a given quota type associated with a given subscription.
[x] Change the Quota.name field to Quota.quotaType and reflect it in the schema, classes, and tests.
We need to know which repository is related to a given
Usage
of aQuota
:nodeId
attribute.quotas
table and add a uniqueness constraint for thesubscriptionId
andquotaName
field combinations so we only have one row for a given quota type associated with a given subscription.Quota.name
field toQuota.quotaType
and reflect it in the schema, classes, and tests.