podyn icon indicating copy to clipboard operation
podyn copied to clipboard

Added getNULL check on type check and convertNumberToText as a optional command line parameter

Open jmaleonard opened this issue 7 years ago • 2 comments

jmaleonard avatar Jul 04 '18 11:07 jmaleonard

Added convertNumberToText or convert-numbers-to-text as a command line parameter that allows numbers to be stored as string in postgress. This is to address an issue where javascript numbers were stored as a string in DynamoDB. Also prevents the creation of an additional columns where they are not needed.

Eg. amount = 0. Will create column "amount" but amount = "0" will create another column "amount_numeric".

When starting podyn with convert-numbers-to-text all numeric fields will be treated as strings.

jmaleonard avatar Jul 11 '18 15:07 jmaleonard

I also created docker image that will account for this new command line args

jmaleonard avatar Jul 11 '18 15:07 jmaleonard