mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
make top-level migrate method private
This commit is contained in:
parent
274bf490b3
commit
41f0452e26
@ -249,7 +249,7 @@ impl App {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Tools
|
// Tools
|
||||||
pub fn migrate(tx: &Transaction) -> Result<(), String> {
|
fn migrate(tx: &Transaction) -> Result<(), String> {
|
||||||
// Migrate self components
|
// Migrate self components
|
||||||
if let Err(e) = Database::init(&tx) {
|
if let Err(e) = Database::init(&tx) {
|
||||||
return Err(e.to_string());
|
return Err(e.to_string());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user