Changing sqlite database to memory.