Unverified Commit 54fd94b3 authored by wtune's avatar wtune Committed by GitHub
Browse files

Add index on log.create_time (#288)


Co-authored-by: default avatarQianmian Yu <im.qianmian.yu@gmail.com>
parent d6bd1d97
...@@ -13,7 +13,8 @@ import java.sql.Timestamp; ...@@ -13,7 +13,8 @@ import java.sql.Timestamp;
*/ */
@Entity @Entity
@Data @Data
@Table(name = "log") @Table(name = "log",
indexes = {@Index(name = "log_create_time_index", columnList = "create_time")})
@NoArgsConstructor @NoArgsConstructor
public class Log implements Serializable { public class Log implements Serializable {
......
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