Prevent db access on precompile, fixes heroku precompile problems