Skip to content

Commit

Permalink
feat(EMS-4016): update sql dump, types
Browse files Browse the repository at this point in the history
  • Loading branch information
ttbarnes committed Jan 21, 2025
1 parent d09b323 commit 4f1e825
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion database/exip.sql
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ CREATE TABLE `Application` (
`dealType` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'EXIP',
`policyContact` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nominatedLossPayee` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`migratedV2toV3` tinyint(1) DEFAULT NULL,
`migratedTo` int DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `Application_eligibility_idx` (`eligibility`),
KEY `Application_referenceNumber_idx` (`referenceNumber`),
Expand Down
2 changes: 1 addition & 1 deletion src/api/types/application-types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export interface Application {
sectionReview: Relationship;
totalContractValueOverThreshold: boolean;
version: number;
migratedV2toV3?: boolean;
migratedTo?: number;
}

export interface ApplicationSubmissionEmailVariables {
Expand Down
4 changes: 2 additions & 2 deletions src/ui/types/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,13 +286,13 @@ interface Application extends ApplicationCore {
sectionReview: ApplicationSectionReview;
declaration: ApplicationDeclaration;
totalContractValueOverThreshold: boolean;
migratedV2toV3?: boolean;
migratedTo?: number;
}

interface ApplicationFlatCore extends ApplicationCore, InsuranceEligibilityCore, ApplicationOwner {
buyerCountry: string;
totalContractValueOverThreshold?: boolean;
migratedV2toV3?: boolean;
migratedTo?: number;
}

type ApplicationFlat = ApplicationFlatCore & ApplicationPolicy & ApplicationBroker & ApplicationCompany & ApplicationDeclaration;
Expand Down

0 comments on commit 4f1e825

Please sign in to comment.