diff --git a/dmp-backend/data/src/main/java/eu/eudat/data/entities/Dataset.java b/dmp-backend/data/src/main/java/eu/eudat/data/entities/Dataset.java index 7c93fd081..dcb138903 100644 --- a/dmp-backend/data/src/main/java/eu/eudat/data/entities/Dataset.java +++ b/dmp-backend/data/src/main/java/eu/eudat/data/entities/Dataset.java @@ -122,8 +122,6 @@ public class Dataset implements DataEntity { @Column(name = "\"Status\"", nullable = false) private Short status; - @Column(name = "\"IsPublic\"", nullable = false) - private boolean isPublic; @Column(name = "\"Created\"") @Convert(converter = DateToUTCConverter.class) @@ -267,13 +265,6 @@ public class Dataset implements DataEntity { this.datasetExternalDatasets = datasetExternalDatasets; } - public boolean isPublic() { - return isPublic; - } - public void setPublic(boolean aPublic) { - isPublic = aPublic; - } - public Date getFinalizedDat() { return finalizedDat; } diff --git a/dmp-db-scema/updates/01/Removes DatasetIsPublic.sql b/dmp-db-scema/updates/01/Removes DatasetIsPublic.sql new file mode 100644 index 000000000..3734d4198 --- /dev/null +++ b/dmp-db-scema/updates/01/Removes DatasetIsPublic.sql @@ -0,0 +1,2 @@ +ALTER TABLE public."Dataset" +DROP COLUMN "IsPublic" \ No newline at end of file