Create local instance user on start
This commit is contained in:
parent
13be46445c
commit
346a67fe1c
@ -59,6 +59,7 @@ fn init_pool() -> Option<DbPool> {
|
|||||||
let pool = builder.build(manager).ok()?;
|
let pool = builder.build(manager).ok()?;
|
||||||
let conn = pool.get().unwrap();
|
let conn = pool.get().unwrap();
|
||||||
Instance::cache_local(&conn);
|
Instance::cache_local(&conn);
|
||||||
|
Instance::create_local_instance_user(&conn);
|
||||||
Instance::cache_local_instance_user(&conn);
|
Instance::cache_local_instance_user(&conn);
|
||||||
Some(pool)
|
Some(pool)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user