Skip to content

Commit

Permalink
Increase length of keywords column of panoramapublic.experimentannota…
Browse files Browse the repository at this point in the history
…tions table (#374)

Change the type of keywords column of panoramapublic.experimentannotations from VARCHAR(200) to TEXT.
  • Loading branch information
vagisha authored Aug 23, 2023
1 parent 776f6a8 commit a9c6d80
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE panoramapublic.experimentannotations ALTER COLUMN keywords TYPE TEXT;
4 changes: 3 additions & 1 deletion panoramapublic/resources/schemas/panoramapublic.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@
<column columnName="SourceExperimentId"/>
<column columnName="SourceExperimentPath"/>
<column columnName="ShortUrl"/>
<column columnName="Keywords"/>
<column columnName="Keywords">
<inputRows>2</inputRows>
</column>
<column columnName="LabHead">
<fk>
<fkColumnName>UserId</fkColumnName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public String getName()
@Override
public @Nullable Double getSchemaVersion()
{
return 22.006;
return 23.001;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private class Elements extends InsertPage.Elements
{
public Locator.XPathLocator expTitle = body.append(Locator.tagWithName("textarea", "title"));
public Locator.XPathLocator expAbstract = body.append(Locator.tagWithName("textarea", "abstract"));
public Locator.XPathLocator keywords = body.append(Locator.input("keywords"));
public Locator.XPathLocator keywords = body.append(Locator.tagWithName("textarea","keywords"));
public Locator.XPathLocator submitterAffiliation = body.append(Locator.input("submitterAffiliation"));
public Locator.XPathLocator organismInputDiv = body.append(Locator.id("input-picker-div-organism")
.descendant(Locator.tagWithClass("span", "twitter-typeahead"))
Expand Down

0 comments on commit a9c6d80

Please sign in to comment.