jira-integration: Increase size of field jiraLabels

As this field could be used to store a list of labels, it's better that it's
longer than 255 chars.

FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
This commit is contained in:
Manuel Rego Casasnovas 2013-02-01 11:30:04 +01:00
parent 9d17881ddb
commit cdc140c7c8
3 changed files with 15 additions and 2 deletions

View file

@ -297,4 +297,17 @@
columnDataType="VARCHAR(255)" />
</changeSet>
<changeSet id="change-column-jira_labels-in-configuration-to-text"
author="mrego" dbms="postgresql">
<comment>Change column jira_labels in configuration to TEXT</comment>
<modifyDataType tableName="configuration" columnName="jira_labels"
newDataType="TEXT" />
</changeSet>
<changeSet id="change-column-jira_labels-in-configuration-to-text-in-mysql"
author="mrego" dbms="mysql">
<comment>Change column jira_labels in configuration to TEXT in MySQL</comment>
<sql>ALTER TABLE configuration MODIFY jira_labels TEXT</sql>
</changeSet>
</databaseChangeLog>

View file

@ -125,7 +125,7 @@
<component name="jiraConfiguration" class="org.libreplan.business.common.entities.JiraConfiguration">
<property name="jiraActivated" column="jira_activated" not-null="true"/>
<property name="jiraUrl" column="jira_url"/>
<property name="jiraLabels" column="jira_labels"/>
<property name="jiraLabels" column="jira_labels" type="text"/>
<property name="jiraUserId" column="jira_user_id"/>
<property name="jiraPassword" column="jira_password"/>
<many-to-one name="jiraConnectorTypeOfWorkHours" cascade="none"

View file

@ -440,7 +440,7 @@
</row>
<row>
<label value="${i18n:_('JIRA labels: comma-separated list of labels or URL')}" />
<textbox id="jiraLabels" value="@{configurationController.jiraConfiguration.jiraLabels}" width="300px"/>
<textbox id="jiraLabels" value="@{configurationController.jiraConfiguration.jiraLabels}" width="600px"/>
</row>
<row>
<label value="${i18n:_('Hours type for JIRA connector')}" />