db: factor out the list of common fields
db: factor out the list of common fields

Put the definition at one place so that we can use
it from multiple functions.

Signed-off-by: Ilija Hadzic <47a09d4a4430975766160361f65fc72633be50b6@gmail.com>

ihadzic/jim,ihadzic/jim,ihadzic/jim