migrate firstly, then use new MySQL views