This should hopefully catch problems with database migrations in SQLite as well as PostgreSQL.
upgrade-tests