fix records view definition

add 'create or replace view' line. oops.