1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// #[cfg(feature = "mysql")] pub(crate) mod mysql; // #[cfg(feature = "postgres")] pub(crate) mod postgres; // #[cfg(feature = "mysql")] // mod mysql; // #[cfg(feature = "postgres")] // mod postgres; pub mod schema; use super::context::Context; #[cfg(feature = "postgres")] pub fn new(default_sechma: String) -> impl schema::Schema { postgres::schema::PgSchema::new(Context::new(default_sechma)) } // #[cfg(not(feature = "postgres"))]