use sqlx::SqlitePool; use crate::error::AppError; use async_trait::async_trait; pub mod game; pub mod gametag; pub mod product; pub mod story; pub mod storytag; pub mod tag; pub mod tool; pub mod tooltag; #[async_trait] pub trait DatabaseHandler { async fn get_all(pool: SqlitePool) -> Result, AppError> where Self: Sized; }