Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

participantid, sequencenum, lsid should be NOT NULL #3723

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions study/src/org/labkey/study/model/DatasetDomainKind.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ public abstract class DatasetDomainKind extends AbstractDomainKind<DatasetDomain
new PropertyStorageSpec(DSROWID, JdbcType.BIGINT, 0, PropertyStorageSpec.Special.PrimaryKeyNonClustered, false, true, null),
new PropertyStorageSpec(CONTAINER, JdbcType.GUID).setNullable(false),
new PropertyStorageSpec(PARTICIPANTID, JdbcType.VARCHAR, 32).setNullable(false),
new PropertyStorageSpec(LSID, JdbcType.VARCHAR, 200),
new PropertyStorageSpec(SEQUENCENUM, JdbcType.DECIMAL),
new PropertyStorageSpec(LSID, JdbcType.VARCHAR, 200).setNullable(false),
new PropertyStorageSpec(SEQUENCENUM, JdbcType.DECIMAL).setNullable(false),
new PropertyStorageSpec(SOURCELSID, JdbcType.VARCHAR, 200),
new PropertyStorageSpec(_KEY, JdbcType.VARCHAR, 200),
new PropertyStorageSpec(QCSTATE, JdbcType.INTEGER),
Expand All @@ -135,9 +135,9 @@ public abstract class DatasetDomainKind extends AbstractDomainKind<DatasetDomain

BASE_PROPERTIES = new HashSet<>(Arrays.asList(
new PropertyStorageSpec(DSROWID, JdbcType.BIGINT, 0, PropertyStorageSpec.Special.PrimaryKeyNonClustered, false, true, null),
new PropertyStorageSpec(PARTICIPANTID, JdbcType.VARCHAR, 32),
new PropertyStorageSpec(LSID, JdbcType.VARCHAR, 200),
new PropertyStorageSpec(SEQUENCENUM, JdbcType.DECIMAL),
new PropertyStorageSpec(PARTICIPANTID, JdbcType.VARCHAR, 32).setNullable(false),
new PropertyStorageSpec(LSID, JdbcType.VARCHAR, 200).setNullable(false),
new PropertyStorageSpec(SEQUENCENUM, JdbcType.DECIMAL).setNullable(false),
new PropertyStorageSpec(SOURCELSID, JdbcType.VARCHAR, 200),
new PropertyStorageSpec(_KEY, JdbcType.VARCHAR, 200),
new PropertyStorageSpec(QCSTATE, JdbcType.INTEGER),
Expand Down