[schema2sql] insert some constraints into the backend [applied]