Can change number of digits, changed to 9 for storing as integer field in pg database