Skip to content

Commit

Permalink
Rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
weiznich committed Mar 15, 2024
1 parent 67cac15 commit 2c9f46d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
6 changes: 1 addition & 5 deletions examples/postgres/advanced-blog-cli/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,4 @@ diesel::joinable!(comments -> posts (post_id));
diesel::joinable!(comments -> users (user_id));
diesel::joinable!(posts -> users (user_id));

diesel::allow_tables_to_appear_in_same_query!(
comments,
posts,
users,
);
diesel::allow_tables_to_appear_in_same_query!(comments, posts, users,);
7 changes: 1 addition & 6 deletions examples/postgres/relations/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,4 @@ diesel::joinable!(books_authors -> authors (author_id));
diesel::joinable!(books_authors -> books (book_id));
diesel::joinable!(pages -> books (book_id));

diesel::allow_tables_to_appear_in_same_query!(
authors,
books,
books_authors,
pages,
);
diesel::allow_tables_to_appear_in_same_query!(authors, books, books_authors, pages,);

0 comments on commit 2c9f46d

Please sign in to comment.