[Hugo/Mukiza] rewritten database migrations that deal with changing field types