Initialised FlyteDatabase after views to stop a race condition.