mirror of https://github.com/halo-dev/halo
feat: add Index on logs.create_time (#668)
parent
134dae00a8
commit
839a029012
|
@ -15,7 +15,7 @@ import javax.persistence.*;
|
|||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name = "logs")
|
||||
@Table(name = "logs", indexes = {@Index(name = "logs_create_time", columnList = "create_time")})
|
||||
@ToString
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class Log extends BaseEntity {
|
||||
|
|
Loading…
Reference in New Issue