public int checkRestrictions(SchemaChange schemaChange) throws IOException, Exception {
File checkFile = context.reportFile(MIGRATION_CHECKS_FILE);
// create DB Sanity check file
DBSanityCheckCreator checkCreator = new DBSanityCheckCreator();
int checkCount = checkCreator.createDBSanityChecksFor(schemaChange, checkFile);
if (checkCount == 0) {
System.out.println("No restrictions apply in the migration");
return 0;
}