Account index: Mark old schema versions as deprecated
Change-Id: I57c5d657491de47d2eef083ec4679c1852215e57 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
committed by
David Pursehouse
parent
3f8c275d6b
commit
8b038714f5
@@ -21,6 +21,7 @@ import com.google.gerrit.server.index.Schema;
|
||||
import com.google.gerrit.server.index.SchemaDefinitions;
|
||||
|
||||
public class AccountSchemaDefinitions extends SchemaDefinitions<AccountState> {
|
||||
@Deprecated
|
||||
static final Schema<AccountState> V1 = schema(
|
||||
AccountField.ID,
|
||||
AccountField.ACTIVE,
|
||||
@@ -30,6 +31,7 @@ public class AccountSchemaDefinitions extends SchemaDefinitions<AccountState> {
|
||||
AccountField.REGISTERED,
|
||||
AccountField.USERNAME);
|
||||
|
||||
@Deprecated
|
||||
static final Schema<AccountState> V2 =
|
||||
schema(V1, AccountField.WATCHED_PROJECT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user