Stub attachment models in migration