Fix upgrade file for sqlite