But the upgrade was a success - even though I don’t understand why it was failing, but you didn’t comment on the table that was causing problems or why it was trying to run migrations from 0.30.0 even though you were using 0.35.4, which makes me think that you have (or had) a corruption in the application database.
If you start out upgrading and then hit some problem later on, then it’s very likely not related to the actual upgrade (migration procedure), but is probably something else.