On the plus side, there are those of us who are brought in for their experience at untangling these messes and coming up with solid solutions that can scale up feature-wise. The same people will willingly dig out problems and fix them in production when all else fails.
People queue at your door if you have these skills.
Mediocre programmers create a lucrative market for unicorn shit as I was once told.