Downgrading Hangfire not working

My team made an upgrade from Hangfire 1.7.31 to 1.8 and we encountered issues due to disparity with our Production environment. We decided to downgrade back to 1.7.31 but we now encounter this error:

column “data” is of type JSONB but the expression is of type text.

Now, I noticed the version of the schema on our Production is 22 with version 1.7.31.

How do we resolve this?