Rename Money/Url to Currency/Link and remove snake_case from composite fields (#2536)

* Rename Money/Url to Currency/Link

* regenerate front types

* renaming money/url field types

* fix double text

* fix tests

* fix server tests

* fix generate-target-column-map

* fix currency convert

* fix: tests

---------

Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
This commit is contained in:
Weiko
2023-11-17 10:31:17 +01:00
committed by GitHub
parent 31e439681c
commit bc579d64a6
56 changed files with 579 additions and 512 deletions

View File

@ -446,7 +446,7 @@ model ActivityTarget {
}
// All of the world's currently active currencies based on the ISO 4217 standard
enum Currency {
enum CurrencyCode {
AED
AFN
ALL
@ -615,6 +615,8 @@ enum Currency {
ZAR
ZMW
ZWL
@@map("CurrencyCode")
}
model Pipeline {
@ -640,7 +642,7 @@ model Pipeline {
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
currency Currency @default(USD)
currency CurrencyCode @default(USD)
@@map("pipelines")
}