Eng 6672 schema report missing ddl

Fixed "MISSING DDL" error on the web page.
Wrote test cases for the same.