Closed as1729 closed 1 month ago
QA Check | Result |
---|---|
๐ Client Tests | โ |
๐ Server Tests | โ |
๐ค E2E Tests | โ |
๐ ESLint | โ |
๐งน TFLint | โ |
Step | Result |
---|---|
๐ Terraform Format & Style | โ |
โ๏ธ Terraform Initialization | โ |
๐ค Terraform Validation | โ |
๐ Terraform Plan | โ |
Hint: If "Terraform Format & Style" failed, run terraform fmt -recursive
from the terraform/
directory and commit the results.
Pusher: @as1729, Action: pull_request_target
, Workflow: Continuous Integration
Ticket #3372
Description
This PR adds support for the new IAA subrecipient field. The goal here is to ensure that we can add subrecipients that do not have either a UEI or TIN value. In order to do this the PR does the following:
name
field toarpa_subrecipients
table and a correspondingunique index
that ensures that when bothuei
andtin
are missing, that we do not create duplicate subrecipients with the samename
.createSubrecipient
function is called.unique
constraint onuei
andtin
fields and replaces with aunique
index that only applies when these fields areNOT NULL
.Screenshots / Demo Video
State Before migrations
State After Migrations
Confirming that Rollback works
Testing
Automated and Unit Tests
Manual tests for Reviewer
Checklist