Changed the schema migration definition which created the template_view to create the view correctly
to solve the problem of baremetal templates not having created date and size