create missing schemas during migration
replace datatype Proxy with type variable proxy