Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
54fd94b3
Unverified
Commit
54fd94b3
authored
Apr 23, 2020
by
wtune
Committed by
GitHub
Apr 23, 2020
Browse files
Add index on log.create_time (#288)
Co-authored-by:
Qianmian Yu
<
im.qianmian.yu@gmail.com
>
parent
d6bd1d97
Changes
1
Show whitespace changes
Inline
Side-by-side
eladmin-logging/src/main/java/me/zhengjie/domain/Log.java
View file @
54fd94b3
...
...
@@ -13,7 +13,8 @@ import java.sql.Timestamp;
*/
@Entity
@Data
@Table
(
name
=
"log"
)
@Table
(
name
=
"log"
,
indexes
=
{
@Index
(
name
=
"log_create_time_index"
,
columnList
=
"create_time"
)})
@NoArgsConstructor
public
class
Log
implements
Serializable
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment