diff --git a/src/db.rs b/src/db.rs index d2a9dff37..f4de5017c 100644 --- a/src/db.rs +++ b/src/db.rs @@ -42,7 +42,7 @@ pub trait Seeder: Send + Sync { fn name(&self) -> String; /// Seeds the database with initial data. - fn seed(&self, db: &DatabaseConnection) -> impl Future>; + fn seed(&self, db: &DatabaseConnection) -> impl Future> + Send + Sync; } #[derive(Default, Clone, Debug)]