Add fixes to address migrations in sqlite