Unverified Commit 66f57049 authored by wtune's avatar wtune Committed by GitHub
Browse files

Add index on role.name (#294)


Co-authored-by: default avatarQianmian Yu <im.qianmian.yu@gmail.com>
parent 266910d3
......@@ -18,7 +18,8 @@ import java.util.Set;
* @date 2018-11-22
*/
@Entity
@Table(name = "role")
@Table(name = "role",
indexes = {@Index(name = "role_name_index", columnList = "name")})
@Getter
@Setter
public class Role 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