Always use INTEGER instead of BOOLEAN in database to avoid confusion