mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
make top-level migrate method private
This commit is contained in:
parent
274bf490b3
commit
41f0452e26
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue