Changes to schema

4.x.x
Chatura Dilan 8 years ago
parent 23ea67deb1
commit c89491b93e

@ -32,6 +32,8 @@ public class Application {
private String uuid;
private String identifier;
private String name;
private String shortDescription;
@ -62,8 +64,6 @@ public class Application {
private Date modifiedAt;
private boolean published;
private LifecycleState lifecycleState;
private Date lifecycleStateModifiedAt;
@ -93,6 +93,14 @@ public class Application {
this.uuid = uuid;
}
public String getIdentifier() {
return identifier;
}
public void setIdentifier(String identifier) {
this.identifier = identifier;
}
public String getName() {
return name;
}
@ -213,14 +221,6 @@ public class Application {
this.modifiedAt = modifiedAt;
}
public boolean isPublished() {
return published;
}
public void setPublished(boolean published) {
this.published = published;
}
public LifecycleState getLifecycleState() {
return lifecycleState;
}

@ -49,7 +49,7 @@ public class ApplicationRelease {
private Map<String, String> properties;
private boolean published;
private boolean isDefault;
public int getId() {
return id;
@ -139,11 +139,11 @@ public class ApplicationRelease {
this.properties = properties;
}
public boolean isPublished() {
return published;
public boolean isDefault() {
return isDefault;
}
public void setPublished(boolean published) {
this.published = published;
public void setDefault(boolean aDefault) {
isDefault = aDefault;
}
}

@ -142,7 +142,7 @@ CREATE TABLE IF NOT EXISTS `APPM_APPLICATION_RELEASE` (
`RELEASE_DETAILS` TEXT NULL,
`CREATED_AT` DATETIME NOT NULL,
`APPM_APPLICATION_ID` INT NOT NULL,
`PUBLISHED` TINYINT(1) NULL,
`IS_DEFAULT` TINYINT(1) NULL,
PRIMARY KEY (`ID`, `APPM_APPLICATION_ID`),
INDEX `FK_APPLICATION_VERSION_APPLICATION` (`APPM_APPLICATION_ID` ASC),
CONSTRAINT `FK_APPLICATION_VERSION_APPLICATION`

Loading…
Cancel
Save