Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions announcements/resources/schemas/comm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@
<column columnName="DiscussionSrcEntityType">
<description>A string representing the entity type of the discussion source.</description>
</column>
<column columnName="DiscussionSrcURL">
<description>URL to the display the object to which this message is attached. Always null for rows that are part of the default forum for the container</description>
</column>
<column columnName="LastIndexed">
<isReadOnly>true</isReadOnly>
<isUserEditable>false</isUserEditable>
Expand Down Expand Up @@ -518,7 +515,6 @@
</column>
<column columnName="LatestId"/>
<column columnName="discussionsrcidentifier"/>
<column columnName="discussionsrcurl"/>
<column columnName="ResponseCount"/>
<column columnName="Modified">
<columnTitle>Modified</columnTitle>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE comm.Announcements DROP COLUMN DiscussionSrcURL;
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
CREATE VIEW comm.Threads AS
SELECT threads.*, props.Title, props.AssignedTo, props.Status, props.Expires, props.CreatedBy AS ResponseCreatedBy, props.Created AS ResponseCreated FROM
(
SELECT parents.RowId, parents.EntityId, parents.Container, parents.Body, parents.RendererType, parents.DiscussionSrcIdentifier, parents.DiscussionSrcURL,
SELECT parents.RowId, parents.EntityId, parents.Container, parents.Body, parents.RendererType, parents.DiscussionSrcIdentifier,
parents.CreatedBy, parents.Created, parents.Modified, parents.LastIndexed, COALESCE(LastResponseId, RowId) AS LatestId, COALESCE(ResponseCount, 0) AS ResponseCount
FROM comm.Announcements parents LEFT OUTER JOIN
(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE comm.Announcements DROP COLUMN DiscussionSrcURL;
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
CREATE VIEW comm.Threads AS
SELECT threads.*, props.Title, props.AssignedTo, props.Status, props.Expires, props.CreatedBy AS ResponseCreatedBy, props.Created AS ResponseCreated FROM
(
SELECT parents.RowId, parents.EntityId, parents.Container, parents.Body, parents.RendererType, parents.DiscussionSrcIdentifier, parents.DiscussionSrcURL,
SELECT parents.RowId, parents.EntityId, parents.Container, parents.Body, parents.RendererType, parents.DiscussionSrcIdentifier,
parents.CreatedBy, parents.Created, parents.Modified, parents.LastIndexed, COALESCE(LastResponseId, RowId) AS LatestId, COALESCE(ResponseCount, 0) AS ResponseCount
FROM comm.Announcements parents LEFT OUTER JOIN
(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public String getName()
@Override
public @Nullable Double getSchemaVersion()
{
return 25.002;
return 25.003;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public ThreadsTable(@NotNull AnnouncementSchema userSchema, ContainerFilter cf)
removeColumn(getColumn("Body"));
removeColumn(getColumn("RendererType"));
removeColumn(getColumn("DiscussionSrcIdentifier"));
removeColumn(getColumn("DiscussionSrcUrl"));
removeColumn(getColumn("Container"));
var folderColumn = wrapColumn("Folder", getRealTable().getColumn("Container"));
folderColumn.setFk(new ContainerForeignKey(userSchema));
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE exp.List DROP COLUMN DiscussionSetting;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
EXEC core.fn_dropifexists 'List', 'exp', 'DEFAULT', 'DiscussionSetting';
ALTER TABLE exp.List DROP COLUMN DiscussionSetting;
1 change: 0 additions & 1 deletion experiment/resources/schemas/exp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@
<column columnName="TitleColumn" />
<column columnName="Description" />
<column columnName="Category"/>
<column columnName="DiscussionSetting" />
<column columnName="AllowDelete" />
<column columnName="AllowUpload" />
<column columnName="AllowExport" />
Expand Down
2 changes: 1 addition & 1 deletion experiment/src/org/labkey/experiment/ExperimentModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public String getName()
@Override
public Double getSchemaVersion()
{
return 25.015;
return 25.016;
}

@Nullable
Expand Down