(feature) Adding migrations and model for term/section/topic documents