Skip to content

fjall-rs/migrate-v2-v3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A tool to migrate a fjall V2 database to V3.

use fjall_v2_v3_migrator::{DefaultOptionsFactory, migrate};

pub fn main() {
    migrate("v2_folder", "v3_folder", DefaultOptionsFactory).unwrap();
}

// By implementing a custom options factory, you can configure keyspaces
impl OptionsFactory for MyOptionsFactory {
    fn get_options(&self, keyspace_name: &str) -> fjall3::KeyspaceCreateOptions {
        // Match on keyspace_name and build its Options
    }
}

About

Migrate Fjall V2 to V3 databases

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages