aboutsummaryrefslogtreecommitdiff
path: root/gerrit-reviewdb
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2011-06-16 19:18:54 -0700
committerShawn O. Pearce <sop@google.com>2011-06-16 19:18:54 -0700
commit34f38cf6795e0a558e85719718f7a10969285879 (patch)
tree9da65a623b5d2c5d8962ffc83fe19af4c9cff8fa /gerrit-reviewdb
parent1eabff509827a0834cc829aecd2f8abb9f7bfe3d (diff)
downloadgerrit-34f38cf6795e0a558e85719718f7a10969285879.tar.gz
Move registerEmailPrivateKey to secure.config
This is the last column in the system_config table that is needed by the stand-alone daemon installation format. Later we can look into dropping the entire system_config table. Change-Id: I8448c79e959b465e370a10a7fa6751c200c1b1a0
Diffstat (limited to 'gerrit-reviewdb')
-rw-r--r--gerrit-reviewdb/src/main/java/com/google/gerrit/reviewdb/SystemConfig.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/gerrit-reviewdb/src/main/java/com/google/gerrit/reviewdb/SystemConfig.java b/gerrit-reviewdb/src/main/java/com/google/gerrit/reviewdb/SystemConfig.java
index c5524ae1..e366a47a 100644
--- a/gerrit-reviewdb/src/main/java/com/google/gerrit/reviewdb/SystemConfig.java
+++ b/gerrit-reviewdb/src/main/java/com/google/gerrit/reviewdb/SystemConfig.java
@@ -52,10 +52,6 @@ public final class SystemConfig {
@Column(id = 1)
protected Key singleton;
- /** Private key to sign account identification cookies. */
- @Column(id = 2, length = 36)
- public transient String registerEmailPrivateKey;
-
/**
* Local filesystem location of header/footer/CSS configuration files
*/
@@ -67,6 +63,9 @@ public final class SystemConfig {
// but survive to support schema upgrade code.
/** DEPRECATED DO NOT USE */
+ @Column(id = 2, length = 36, notNull = false)
+ public transient String registerEmailPrivateKey;
+ /** DEPRECATED DO NOT USE */
@Column(id = 4, notNull = false)
public AccountGroup.Id adminGroupId;
/** DEPRECATED DO NOT USE */