Prevent initializing and connecting to the database during precompile