Database now works with integer fields.