Have nested views stored in the db