Create databases on profile init
Ensures that the databases exist for commands like `rad ls`, even before the node is started for the first time.
This commit is contained in:
parent
5333f8217a
commit
1af505c5c3
|
|
@ -216,6 +216,9 @@ impl Profile {
|
|||
key: public_key,
|
||||
},
|
||||
)?;
|
||||
// Create DBs.
|
||||
home.policies_mut()?;
|
||||
home.database_mut()?;
|
||||
|
||||
transport::local::register(storage.clone());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue