Fix schema

I assume rev_flags is useless, since there's text_flags - otherwise I've done
some wrong things yesterday :)

text_comment was in there twice; I assume that was a rebase issue

Change-Id: I1781e289b35fd8ab176690da7ea9fc13fa370d9d