Fixing server schema for views