Fix invalid sqlite migration