1
0
mirror of https://github.com/google/nomulus synced 2026-01-06 05:27:13 +00:00

Add a registration_behavior column to AllocationToken (#1695)

This is, as of now, unused but we can use it for b/237683906 and
b/237800445 in the future to allow for special behavior dictated by
allocation tokens rather than having to reserve specific domains.

Note that we enforce a tied domain for ANCHOR_TENANT tokens (because
they should be matched to a domain) but not for BYPASS_TLD_STATE tokens.
This commit is contained in:
gbrodman
2022-07-20 12:50:25 -04:00
committed by GitHub
parent 49b1b2d058
commit cf89d9354c
10 changed files with 217 additions and 6 deletions

View File

@@ -261,7 +261,7 @@ td.section {
</tr>
<tr>
<td class="property_name">generated on</td>
<td class="property_value">2022-07-15 16:41:11.765867</td>
<td class="property_value">2022-07-15 18:56:30.776055</td>
</tr>
<tr>
<td class="property_name">last flyway file</td>
@@ -284,7 +284,7 @@ td.section {
generated on
</text>
<text text-anchor="start" x="4055.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
2022-07-15 16:41:11.765867
2022-07-15 18:56:30.776055
</text>
<polygon fill="none" stroke="#888888" points="3968,-4 3968,-44 4233,-44 4233,-4 3968,-4" /> <!-- allocationtoken_a08ccbef -->
<g id="node1" class="node">

View File

@@ -261,7 +261,7 @@ td.section {
</tr>
<tr>
<td class="property_name">generated on</td>
<td class="property_value">2022-07-15 16:41:09.696997</td>
<td class="property_value">2022-07-15 18:56:28.677292</td>
</tr>
<tr>
<td class="property_name">last flyway file</td>
@@ -284,7 +284,7 @@ td.section {
generated on
</text>
<text text-anchor="start" x="4755.52" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
2022-07-15 16:41:09.696997
2022-07-15 18:56:28.677292
</text>
<polygon fill="none" stroke="#888888" points="4668.02,-4 4668.02,-44 4933.02,-44 4933.02,-4 4668.02,-4" /> <!-- allocationtoken_a08ccbef -->
<g id="node1" class="node">

View File

@@ -24,6 +24,7 @@
domain_name text,
redemption_domain_history_id int8,
redemption_domain_repo_id text,
registration_behavior text not null,
renewal_price_behavior text not null,
token_status_transitions hstore,
token_type text,