mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
fix: correct a couple places from the recent column metadata changes
This commit is contained in:
parent
250b4d8e10
commit
8baeb9215a
@ -29,6 +29,7 @@ pub(crate) struct ColumnData {
|
||||
}
|
||||
|
||||
bitflags! {
|
||||
#[cfg_attr(feature = "offline", derive(serde::Serialize, serde::Deserialize))]
|
||||
pub struct Flags: u16 {
|
||||
// Its value is 1 if the column is nullable.
|
||||
const NULLABLE = 0x0001;
|
||||
|
||||
@ -161,7 +161,7 @@ trait StatementInfoExt: serde::Serialize + serde::de::DeserializeOwned {}
|
||||
|
||||
#[cfg(feature = "offline")]
|
||||
impl<DB: Database> StatementInfoExt for StatementInfo<DB> where
|
||||
Describe<DB>: serde::Serialize + serde::de::DeserializeOwned
|
||||
StatementInfo<DB>: serde::Serialize + serde::de::DeserializeOwned
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user