로그관리 id generated 방식 SEQUENCE로 수정 (이미 시퀀스로 하고 있었음)
This commit is contained in:
@@ -15,8 +15,14 @@ import lombok.NoArgsConstructor;
|
||||
@Table(name = "tb_audit_log")
|
||||
public class AuditLogEntity extends CommonCreateEntity {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Column(name = "audit_log_uid")
|
||||
@GeneratedValue(
|
||||
strategy = GenerationType.SEQUENCE,
|
||||
generator = "tb_audit_log_audit_log_uid_seq_gen")
|
||||
@SequenceGenerator(
|
||||
name = "tb_audit_log_audit_log_uid_seq_gen",
|
||||
sequenceName = "tb_audit_log_audit_log_uid_seq",
|
||||
allocationSize = 1)
|
||||
@Column(name = "audit_log_uid", nullable = false)
|
||||
private Long id;
|
||||
|
||||
@Column(name = "user_uid")
|
||||
|
||||
Reference in New Issue
Block a user