mirror of https://github.com/halo-dev/halo
feat: add Index on photos.team (#657)
parent
fc37803e73
commit
ee4bc01f65
|
@ -15,7 +15,7 @@ import java.util.Date;
|
|||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name = "photos")
|
||||
@Table(name = "photos", indexes = {@Index(name = "photos_team", columnList = "team")})
|
||||
@ToString
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class Photo extends BaseEntity {
|
||||
|
|
Loading…
Reference in New Issue