Add index on visits.create_time

pull/290/head
Qianmian Yu 2020-03-13 11:27:57 +08:00
parent 286a48368f
commit b757803ea7
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ import java.sql.Timestamp;
*/
@Entity
@Data
@Table(name = "visits")
@Table(name = "visits",
indexes = {@Index(name = "visits_create_time_index", columnList = "create_time")})
public class Visits implements Serializable {
@Id