Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Julius de Bruijn committed May 19, 2021
1 parent 7588c4b commit fdc5b01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ast/castable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,17 @@ impl<'a> CastType<'a> {
self
}

#[cfg(feature = "postgresql")]
pub(crate) fn postgres_enabled(&self) -> bool {
self.on_databases.contains(CastDatabase::Postgres)
}

#[cfg(feature = "mysql")]
pub(crate) fn mysql_enabled(&self) -> bool {
self.on_databases.contains(CastDatabase::Mysql)
}

#[cfg(feature = "mssql")]
pub(crate) fn mssql_enabled(&self) -> bool {
self.on_databases.contains(CastDatabase::Mssql)
}
Expand Down

0 comments on commit fdc5b01

Please sign in to comment.