mirror of
https://github.com/google/nomulus
synced 2026-08-31 21:27:09 +00:00
Add domain repo ID and token type indexes to AllocationToken table (#1560)
These are useful for the purposes of filtering by one-time/multi-use tokens, and for determining which one-time tokens have been used (and if so, for which domain).
This commit is contained in:
@@ -76,6 +76,8 @@ import org.joda.time.DateTime;
|
||||
@javax.persistence.Index(
|
||||
columnList = "domainName",
|
||||
name = "allocation_token_domain_name_idx"),
|
||||
@javax.persistence.Index(columnList = "tokenType"),
|
||||
@javax.persistence.Index(columnList = "redemption_domain_repo_id")
|
||||
})
|
||||
public class AllocationToken extends BackupGroupRoot implements Buildable, DatastoreAndSqlEntity {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user