[migration] make sure the repo knows about all constraint types
Adding new constraint types is cumbersome. It's easy to forget to do it
in a migration script. So sync the constraint types at the beginning of
each migration.
Closes #3724892
drop_relation_definition('CWSourceSchemaConfig', 'cw_schema', 'CWAttribute')
sync_schema_props_perms('cw_schema')