mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-14 07:51:01 +00:00
Create local instance user on start
This commit is contained in:
parent
13be46445c
commit
346a67fe1c
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ fn init_pool() -> Option<DbPool> {
|
|||
let pool = builder.build(manager).ok()?;
|
||||
let conn = pool.get().unwrap();
|
||||
Instance::cache_local(&conn);
|
||||
Instance::create_local_instance_user(&conn);
|
||||
Instance::cache_local_instance_user(&conn);
|
||||
Some(pool)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue