make :db writer private