Avoid database connection on assets:precompile