DB - modify schema init - add view and indexes.