We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a771fe commit 9024b7bCopy full SHA for 9024b7b
my-postgres-macros/src/postgres_struct_ext.rs
@@ -467,7 +467,7 @@ impl<'s> PostgresStructPropertyExt<'s> for StructProperty<'s> {
467
}
468
PropertyType::Bool => {
469
self.must_not_have_sql_type_attr()?;
470
- quote::quote!(my_postgres::table_schema::TableColumnType::Text)
+ quote::quote!(my_postgres::table_schema::TableColumnType::Boolean)
471
472
PropertyType::DateTime => {
473
match self.get_sql_type_attr_value(&[SqlType::Timestamp, SqlType::Bigint])? {
0 commit comments