test db_constraint field