[sqlite] Change SQLite database mode to read-write