Skip to content

Commit

Permalink
Fix sequence for profile email domains (#7066)
Browse files Browse the repository at this point in the history
* Deactivated records should get 409 on GET requests

* Sequence should start at 100000

* Fix sequence name in the profile email domain entity id
  • Loading branch information
amontenegro authored Aug 12, 2024
1 parent f5cf611 commit 559e9e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class ProfileEmailDomainEntity extends BaseEntity<Long> {

@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.AUTO, generator = "event_seq")
@GeneratedValue(strategy = GenerationType.AUTO, generator = "profile_email_domain_seq")
@SequenceGenerator(name = "profile_email_domain_seq", sequenceName = "profile_email_domain_seq", allocationSize = 1)
public Long getId() {
return id;
Expand Down

0 comments on commit 559e9e1

Please sign in to comment.