Skip to content

Commit 8f33673

Browse files
authored
database/models/krate: Remove unused QueryableByName trait (#11626)
1 parent 05d172f commit 8f33673

File tree

1 file changed

+1
-3
lines changed
  • crates/crates_io_database/src/models

1 file changed

+1
-3
lines changed

crates/crates_io_database/src/models/krate.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ pub struct CrateName {
2424
pub name: String,
2525
}
2626

27-
#[derive(
28-
Debug, Clone, Queryable, Identifiable, AsChangeset, QueryableByName, Selectable, Serialize,
29-
)]
27+
#[derive(Debug, Clone, Queryable, Identifiable, AsChangeset, Selectable, Serialize)]
3028
#[diesel(table_name = crates, check_for_backend(diesel::pg::Pg))]
3129
pub struct Crate {
3230
pub id: i32,

0 commit comments

Comments
 (0)