diff --git a/src/database/connection.rs b/src/database/connection.rs index 6d02781d..382872e2 100644 --- a/src/database/connection.rs +++ b/src/database/connection.rs @@ -129,7 +129,7 @@ impl DatabaseConnection { } impl DbBackend { - pub fn url_starts_with(self, base_url: &str) -> bool { + pub(crate) fn url_starts_with(self, base_url: &str) -> bool { match self { Self::Postgres => { base_url.starts_with("postgres://") || base_url.starts_with("postgresql://")