CurrentSchemaVersion: Allow to use it in plugins

To implement dedicated databases in plugin based on GWTORM, current
version plays important role in upgrading schema version. Change
the modifiers for the attributes and the constructor to allow this.

Gerrit CI plugin needs this to support schema upgrade in init plugin
step.

Change-Id: I372be503cff79a48d1320244e625bc7c5635eca5
This commit is contained in:
David Ostrovsky 2015-11-28 23:04:10 +01:00 committed by David Pursehouse
parent 3aa6d030d3
commit 9bf41e4ecb
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ public final class CurrentSchemaVersion {
private static final String VALUE = "X";
@Column(id = 1, length = 1)
protected String one = VALUE;
public String one = VALUE;
public Key() {
}
@ -50,12 +50,12 @@ public final class CurrentSchemaVersion {
}
@Column(id = 1)
protected Key singleton;
public Key singleton;
/** Current version number of the schema. */
@Column(id = 2)
public transient int versionNbr;
protected CurrentSchemaVersion() {
public CurrentSchemaVersion() {
}
}