Unverified Commit 266910d3 authored by wtune's avatar wtune Committed by GitHub
Browse files

Add index on visits.create_time (#290)


Co-authored-by: default avatarQianmian Yu <im.qianmian.yu@gmail.com>
parent 54fd94b3
...@@ -15,7 +15,8 @@ import java.sql.Timestamp; ...@@ -15,7 +15,8 @@ import java.sql.Timestamp;
*/ */
@Entity @Entity
@Data @Data
@Table(name = "visits") @Table(name = "visits",
indexes = {@Index(name = "visits_create_time_index", columnList = "create_time")})
public class Visits implements Serializable { public class Visits implements Serializable {
@Id @Id
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment