- minor refactor: removed a check that is no longer necessary
- fetches from the database information about the constraints of a column
- refactored the way to get the information about the constraints from the database
- created more tests to cover the new Constraints