use Django 1.7 db_parameters() method to detect check constraints