Overcome transaction sqlite datamigration problem