Skip to content

Commit 9024b7b

Browse files
committed
Fixes
1 parent 2a771fe commit 9024b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

my-postgres-macros/src/postgres_struct_ext.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ impl<'s> PostgresStructPropertyExt<'s> for StructProperty<'s> {
467467
}
468468
PropertyType::Bool => {
469469
self.must_not_have_sql_type_attr()?;
470-
quote::quote!(my_postgres::table_schema::TableColumnType::Text)
470+
quote::quote!(my_postgres::table_schema::TableColumnType::Boolean)
471471
}
472472
PropertyType::DateTime => {
473473
match self.get_sql_type_attr_value(&[SqlType::Timestamp, SqlType::Bigint])? {

0 commit comments

Comments
 (0)