@dynamatix/gb-schemas 2.0.19 → 2.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -90,7 +90,7 @@ export class ApplicantEntity {
90
90
  previous2AddressPropertyOwnedBy?: string;
91
91
  relationshipToOthers!: string;
92
92
  residentialStatusLid?: string;
93
- retirementAge!: string;
93
+ retirementAge!: number;
94
94
  taxJurisdictionLid!: string;
95
95
  taxPayerLid!: string;
96
96
  timeResidedAtCountryOfResidence!: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.0.19",
3
+ "version": "2.0.20",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -79,7 +79,7 @@ model Applicant {
79
79
  previous2AddressPropertyOwnedBy String?
80
80
  relationshipToOthers String
81
81
  residentialStatusLid String? @map("residential_status_lid")
82
- retirementAge String
82
+ retirementAge Int
83
83
  taxJurisdictionLid String @map("tax_jurisdiction_lid")
84
84
  taxPayerLid String @map("tax_payer_lid")
85
85
  timeResidedAtCountryOfResidence Int
@@ -0,0 +1,9 @@
1
+ /*
2
+ Warnings:
3
+
4
+ - Changed the type of `retirementAge` on the `applicants` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
5
+
6
+ */
7
+ -- AlterTable
8
+ ALTER TABLE "applicants" DROP COLUMN "retirementAge",
9
+ ADD COLUMN "retirementAge" INTEGER NOT NULL;
@@ -845,7 +845,7 @@ model Applicant {
845
845
  previous2AddressPropertyOwnedBy String?
846
846
  relationshipToOthers String
847
847
  residentialStatusLid String? @map("residential_status_lid")
848
- retirementAge String
848
+ retirementAge Int
849
849
  taxJurisdictionLid String @map("tax_jurisdiction_lid")
850
850
  taxPayerLid String @map("tax_payer_lid")
851
851
  timeResidedAtCountryOfResidence Int