IPAM migration

Hello,
I have IP Address Manager 4.3.2 on WS 2012 R2 and Microsoft SQL Server 2008 R2. 
I'm migrating everything to 2019.
For this I have installed the Solarwinds-Orion-IPAM-2020.2.4-OfflineInstaller on a WS 2019 new.
Should I install and later migrate the database or should I migrate it before installation? Thank you very much