Added check constraints, fk, pk and unique constraint support.