Remove gwtorm annotations from AccountSshKey
Account SSH keys are no longer stored in reviewdb. Change-Id: I7a9f3ee9f7ff235af7d0767d94b26f85956b0e65 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
|
||||
package com.google.gerrit.reviewdb.client;
|
||||
|
||||
import com.google.gwtorm.client.Column;
|
||||
import com.google.gwtorm.client.IntKey;
|
||||
|
||||
import java.util.Objects;
|
||||
@@ -24,10 +23,8 @@ public final class AccountSshKey {
|
||||
public static class Id extends IntKey<Account.Id> {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Column(id = 1)
|
||||
protected Account.Id accountId;
|
||||
|
||||
@Column(id = 2)
|
||||
protected int seq;
|
||||
|
||||
protected Id() {
|
||||
@@ -59,13 +56,10 @@ public final class AccountSshKey {
|
||||
}
|
||||
}
|
||||
|
||||
@Column(id = 1, name = Column.NONE)
|
||||
protected AccountSshKey.Id id;
|
||||
|
||||
@Column(id = 2, length = Integer.MAX_VALUE)
|
||||
protected String sshPublicKey;
|
||||
|
||||
@Column(id = 3)
|
||||
protected boolean valid;
|
||||
|
||||
protected AccountSshKey() {
|
||||
|
||||
Reference in New Issue
Block a user