migrations fix for sqlite