mirror of https://github.com/halo-dev/halo
feat: add Index on links.name (#651)
parent
b2b349ae27
commit
124f352ebb
|
@ -15,7 +15,7 @@ import javax.persistence.*;
|
|||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name = "links")
|
||||
@Table(name = "links", indexes = {@Index(name = "links_name", columnList = "name")})
|
||||
@ToString
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class Link extends BaseEntity {
|
||||
|
|
Loading…
Reference in New Issue