Make db_uri read-only.