Commit cc20fbee authored by Maxym Borodenko's avatar Maxym Borodenko Committed by Matija Obreza

JOINED inheritance strategy

parent 8918129f
Pipeline #13542 passed with stage
in 1 minute and 57 seconds
......@@ -66,7 +66,7 @@ import com.fasterxml.jackson.annotation.ObjectIdGenerators;
indexes = { @Index(unique = false, columnList = "folder_id", name = "IX_repoFile_path") }
// unique
, uniqueConstraints = { @UniqueConstraint(columnNames = { "folder_id", "originalFilename" }) })
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
@Inheritance(strategy = InheritanceType.JOINED)
public class RepositoryFile extends AuditedVersionedModelWithoutId implements AclAwareModel, BaseMetadata, Copyable<RepositoryFile>, SelfCleaning {
/** The Constant serialVersionUID. */
......
Markdown is supported
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