changed sqlite scheme