Workaround for Bug #52245

The bug above is causing some grief, as we can longer create new projects with this error being thrown:
Gitlab::GitAccess::ProjectCreationError: Could not create project: PG::UndefinedColumn: ERROR: column “wikis_count” does not exist

Is there a workaround for this some where. There is a post-migration fix but its not clear to me how to apply it.