Skip to content

Commit bb910af

Browse files
committed
Minor Fixes
1 parent 19e531a commit bb910af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

my-postgres-macros/src/table_schema/generate_where_models.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ fn generate_struct(
9494

9595
if has_reference {
9696
result.push(quote::quote! {
97-
#[derive(my_postgres::macros::WhereDbModel)]
97+
#[derive(my_postgres::macros::WhereDbModel, Debug)]
9898
pub struct #struct_name<'s>{
9999
#(#fields)*
100100
}
101101
});
102102
} else {
103103
result.push(quote::quote! {
104-
#[derive(my_postgres::macros::WhereDbModel)]
104+
#[derive(my_postgres::macros::WhereDbModel, Debug)]
105105
pub struct #struct_name{
106106
#(#fields)*
107107
}

0 commit comments

Comments
 (0)