That's how I've always understood technical debt as well[0]. Which database or programming language isn't quite it.
When a major customer needs a new feature, do you hack that feature into the codebase to save the account? Or do you risk the account in order to add the feature The Right Way?