Skip to content

Commit

Permalink
chore: add index on file stat table
Browse files Browse the repository at this point in the history
  • Loading branch information
DropSnorz committed Feb 7, 2024
1 parent 7dbfc7d commit 8e6916d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Index;
import jakarta.persistence.JoinColumn;
import jakarta.persistence.ManyToOne;
import jakarta.persistence.OneToMany;
import jakarta.persistence.Table;
import java.util.HashSet;
import java.util.Set;

@Entity
@Table(indexes = { @Index(name = "IDX_FILESTAT_ID", columnList = "id"),
@Index(name = "IDX_FILESTAT_PARENT_PATH", columnList = "parentPath") })
public class FileStat {

@Id
Expand Down

0 comments on commit 8e6916d

Please sign in to comment.