Add migrate ns
Enable versioned db-spec
Implement refdb API for v0.6 storage