Skip to content

Commit

Permalink
Add index on visits.create_time (elunez#290)
Browse files Browse the repository at this point in the history
Co-authored-by: Qianmian Yu <[email protected]>
  • Loading branch information
wtune and yqmmm authored Apr 23, 2020
1 parent 54fd94b commit 266910d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
*/
@Entity
@Data
@Table(name = "visits")
@Table(name = "visits",
indexes = {@Index(name = "visits_create_time_index", columnList = "create_time")})
public class Visits implements Serializable {

@Id
Expand Down

0 comments on commit 266910d

Please sign in to comment.