amplication / docs

Amplication docs
https://docs.amplication.com
Apache License 2.0
17 stars 62 forks source link

Supporting BigInt and Decimal as data types in Amplication and the generated app #339

Closed GreenMachine01 closed 1 year ago

GreenMachine01 commented 1 year ago

https://github.com/amplication/amplication/issues/6618

dericksozo commented 1 year ago

@abrl91, if I'm understanding correctly, the How Prisma Schema Is Converted Into Amplication Entities page covers this already. Do you see another place where we would need to add this information?

CC @GreenMachine01

abrl91 commented 1 year ago

@dericksozo It's relevant only for the entity page: You can see, for example, in an existing service, the database type of the data type DecimalNumber is Float image

and for WholeNumber is Interger => int image

When a user creates a new service, the default database data type for DecimalNumber is Decimal and for WholeNumber is Interger (Int)

dericksozo commented 1 year ago

Thank you @abrl91. I made one slight modification and cover this issue in this commit. If I'm understanding correctly, this is the only change that we need because the chart covers all other conversions?

CC @GreenMachine01