Skip to content

Commit

Permalink
Merge pull request pksunkara#14 from workingjubilee/patch-1
Browse files Browse the repository at this point in the history
derive PostgresHash for ulid
  • Loading branch information
pksunkara authored Jul 21, 2023
2 parents 5485957 + 9a0a1bc commit eb8e9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub extern "C" fn _PG_init() {
}

#[allow(non_camel_case_types)]
#[derive(PostgresType, PostgresEq, PostgresOrd, Debug, PartialEq, PartialOrd, Eq, Ord)]
#[derive(PostgresType, PostgresEq, PostgresHash, PostgresOrd, Debug, PartialEq, PartialOrd, Eq, Hash, Ord)]
#[inoutfuncs]
pub struct ulid(u128);

Expand Down

0 comments on commit eb8e9cf

Please sign in to comment.