Migrate credentials type otp between installations

Hello everyone

I have a question regarding the otp credentials type in keycloak.

We are running keycloak in the cloud in a dual instance setup synced via a database. Users are stored in openldap.

When we deployed a new version of keycloak using the same database we ran into a problem that all otp credentials where lost.

Is this intended behaviour? By which I mean are otp credentials not stored in the database?

I hope I was able to communicate the problem clearly