Added globals.views to db