diff --git a/src/core/src/index/revindex/disk_revindex.rs b/src/core/src/index/revindex/disk_revindex.rs index 8a80a49c74..3b4434824e 100644 --- a/src/core/src/index/revindex/disk_revindex.rs +++ b/src/core/src/index/revindex/disk_revindex.rs @@ -124,7 +124,9 @@ impl RevIndex { read_only: bool, storage_spec: Option<&str>, ) -> Result { - let opts = db_options(); + let mut opts = db_options(); + opts.create_if_missing(true); + opts.create_missing_column_families(true); // prepare column family descriptors let cfs = cf_descriptors();