I was rather concerned when people started to come out against the Turkish coup on the grounds that it was anti-democratic. Not because I'm convinced the coup would have been a great idea, but because there were two distinct groups objecting to the coup: one on the basis of democracy, and one on the basis of supporting Erdogan's autocracy. And it was very clear which of these groups would be holding the reins if the coup failed.
Since then, Erdogan has removed 2,700 judges and all 15,000 university deans in the country, as part of a broader set of roughly 45,000 people who have been fired, suspended, or detained. (See http://www.independent.co.uk/news/world/europe/turkey-coup-latest-news-erdogan-istanbul-judges-removed-from-duty-failed-government-overthrow-a7140661.html
) It's quite clear that most of these people had nothing to do with the coup, which was an entirely military affair, but that the lists of known enemies were well-prepared in advance. Today, a blanket travel ban preventing all academics from leaving the country was added.
Erdogan has further announced that an "important decision" will be coming later today, which is widely anticipated to be part of an absolute crackdown on any opposition to his rule. (This is, one should remember, a country where journalists are routinely sent to prison for insulting the President)
The fact is that Erdogan has been steadily and forcefully moving towards absolute rule for years, eliminating anyone he sees as either opposed to him or (in the case of his popular former PM Ahmet Davutoğlu) simply too popular in their own right.
There may be reasons to oppose the failed coup, but protecting democratic institutions is not one of them; it is highly unlikely that any such institutions will be left by the end of this year.