mirror of https://github.com/elunez/eladmin
Add Index on dict.name to Accelerate Query
Add Index on dict.name to Accelerate Querypull/292/head
parent
9729e260a1
commit
31a446be7f
|
@ -18,7 +18,8 @@ import java.util.List;
|
|||
@Entity
|
||||
@Getter
|
||||
@Setter
|
||||
@Table(name="dict")
|
||||
@Table(name="dict",
|
||||
indexes={@Index(name = "dict_name", columnList = "name")})
|
||||
public class Dict implements Serializable {
|
||||
|
||||
@Id
|
||||
|
|
Loading…
Reference in New Issue