Press fit the magnets.
https://cad.onshape.com/documents/9db7d7e3b0edab2e2b73bab5/w/d440a9248f236ac022c24877/e/80b672a2f59dc7ad3db3dc56
The author marked this model as their own original creation.