adds ability to specify table constraints