As the initial rewrite commit was based on a slightly newer database schema than ended up in the final iceshrimp-js release, we need to include those changes here.