mirror of
https://github.com/google/nomulus.git
synced 2025-07-31 23:16:31 +02: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:
parent
60c156c061
commit
6c20d39a2d
7 changed files with 1474 additions and 1388 deletions
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue