automagically upgrade database views on startup