I think you are conflicting user needs with developer needs.
As a user, I would never want to edit a config on file using SQL!
A clear example of text as UI is git rebase: move around lines, rename words, press save and quit. It works great as a preview of the rebase.