added patch for migration of sql databases for version 1.70