Skip to content
Snippets Groups Projects
Commit 4dd72bcc authored by felmer's avatar felmer
Browse files

LMS-835 bug in migration script and SamplePE fixed

SVN: 10613
parent 3924a1b2
No related branches found
No related tags found
No related merge requests found
......@@ -337,7 +337,6 @@ public class SamplePE implements IIdAndCodeHolder, Comparable<SamplePE>,
}
@ManyToOne(fetch = FetchType.LAZY)
@NotNull(message = ValidationMessages.EXPERIMENT_NOT_NULL_MESSAGE)
@JoinColumn(name = ColumnNames.EXPERIMENT_COLUMN, updatable = true)
@IndexedEmbedded(prefix = SearchFieldConstants.PREFIX_EXPERIMENT)
private ExperimentPE getExperimentInternal()
......
......@@ -61,8 +61,6 @@ DROP SEQUENCE procedure_type_id_seq;
-- Purpose: Replace trigger SAMPLE_CODE_UNIQUENESS_CHECK
------------------------------------------------------------------------------------
DROP FUNCTION SAMPLE_CODE_UNIQUENESS_CHECK();
CREATE OR REPLACE FUNCTION SAMPLE_CODE_UNIQUENESS_CHECK() RETURNS trigger AS $$
DECLARE
counter INTEGER;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment