fix: Change num_code column from int to varchar (#7463)

This commit is contained in:
Oli Juhl
2024-05-27 10:28:07 +02:00
committed by GitHub
parent b8bc3ed16f
commit ebc4215f16
5 changed files with 9 additions and 9 deletions
@@ -17,7 +17,7 @@ export interface BaseRegionCountry {
id: string
iso_2?: string
iso_3?: string
num_code?: number
num_code?: string
name?: string
display_name?: string
}
@@ -37,7 +37,7 @@ export interface BaseRegionCountryFilters
id?: string[] | string
iso_2?: string[] | string
iso_3?: string[] | string
num_code?: number[] | string
num_code?: string | string[]
name?: string[] | string
display_name?: string[] | string
}
+2 -2
View File
@@ -72,7 +72,7 @@ export interface RegionCountryDTO {
/**
* The country's code number.
*/
num_code: number
num_code: string
/**
* The name of the country.
@@ -147,7 +147,7 @@ export interface FilterableRegionCountryProps
/**
* Filter countries by their code number.
*/
num_code?: number[] | string
num_code?: string[] | string
/**
* Filter countries by their name.