mirror of https://github.com/elunez/eladmin
Add index on visits.create_time
parent
286a48368f
commit
b757803ea7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue