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

feat: add Index on tags.name (#653)

parent c5af5d78
Showing with 1 addition and 1 deletion
+1 -1
......@@ -14,7 +14,7 @@ import javax.persistence.*;
*/
@Data
@Entity
@Table(name = "tags")
@Table(name = "tags", indexes = {@Index(name = "tags_name", columnList = "name")})
@ToString
@EqualsAndHashCode(callSuper = true)
public class Tag extends BaseEntity {
......
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