public class UpgradeTask_Build804000 extends AbstractDelayableUpgradeTask
Motivation: * For a PostgreSQL database, QueryDSL is not able to translate the timestamp to date converting correctly. It makes * it impossible to sort by an archived date when the archived date of an issue is a date and the archived date of a * project is a number.
UpgradeTask.ScheduleOption, UpgradeTask.Status| Constructor and Description |
|---|
UpgradeTask_Build804000(DefaultProjectManager defaultProjectManager,
ProjectPropertiesManager propertiesManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
doUpgrade(boolean setupMode)
Perform the upgrade.
|
int |
getBuildNumber() |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action
|
boolean |
isDowngradeTaskRequired()
Flag to claim whether this upgrade task needs an explicit downgrade task to reverse the data changes.
|
getScheduleOptionaddError, addErrors, addErrors, convertToSchemaTableName, dependsUpon, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDatabaseUtil, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL, runUpgradepublic UpgradeTask_Build804000(DefaultProjectManager defaultProjectManager, ProjectPropertiesManager propertiesManager)
public int getBuildNumber()
public String getShortDescription()
UpgradeTaskpublic void doUpgrade(boolean setupMode)
throws Exception
UpgradeTasksetupMode - Indicating this upgrade task is running during set up.Exceptionpublic boolean isDowngradeTaskRequired()
UpgradeTaskIf a downgrade is a simple no-op then return false, and JIRA will ignore these changes during a downgrade.
If you need to actually undo the changes made here then declare true and add a Downgrade Task to the bug fix branch.
Copyright © 2002-2021 Atlassian. All Rights Reserved.