make url_starts_with access level
This commit is contained in:
parent
203a0d603a
commit
ae9e1c48ce
@ -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://")
|
||||
|
Loading…
x
Reference in New Issue
Block a user