Prepare ffi migration