WorkerConfig,
};
use itertools::Itertools;
-use lemmy_db::{
- source::{community::Community, user::User_},
- DbPool,
-};
+use lemmy_db::DbPool;
+use lemmy_db_schema::source::{community::Community, user::User_};
use lemmy_utils::{location_info, settings::Settings, LemmyError};
use lemmy_websocket::LemmyContext;
use log::{debug, warn};