Upgrade to Nextcloud Hub 10 (31.0.0) Incorrect row format found in your database

I copied and pasted all the table names into a text file and manipulated into a list of ALTER commands to make the change. I didn’t think about using a script DOH.