enhance(core): replace string with enum for country (#735)

This commit is contained in:
Narayan Bhat
2023-03-30 21:45:38 +05:30
committed by GitHub
parent 442bed0f6b
commit e18bfb2ae1
45 changed files with 734 additions and 649 deletions

View File

@ -8,7 +8,7 @@ diesel::table! {
id -> Int4,
address_id -> Varchar,
city -> Nullable<Varchar>,
country -> Nullable<Varchar>,
country -> Nullable<CountryCode>,
line1 -> Nullable<Varchar>,
line2 -> Nullable<Varchar>,
line3 -> Nullable<Varchar>,