pub fn set_setting(db: &Database, key: &str, value: &str) -> Result<()>
Set a setting value (insert or update)