Fixing database adding datatype

Signed-off-by: BabarMajes <al@neomajes.com>