adds db fields.