Struct ethcore_util::migration::Manager [] [src]

pub struct Manager { /* fields omitted */ }

Manages database migration.

Methods

impl Manager
[src]

Creates new migration manager with given configuration.

Adds new migration rules.

Performs migration in order, starting with a source path, migrating between two temporary databases, and producing a path where the final migration lives.

Returns true if migration is needed.