Turning off database connection during asset precompilation