SQLite database adjustment