mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 03:57:51 +02:00
Add SQL column for AllocationToken registration behavior (#1697)
First part of b/237683906 We'll add the Java behavior in a later PR; it'll be an enum with the values DEFAULT, BYPASS_TLD_STATE, and ANCHOR_TENANT
This commit is contained in:
parent
f4e37a37b4
commit
7071bb91f2
5 changed files with 17788 additions and 17758 deletions
|
@ -261,11 +261,11 @@ td.section {
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="property_name">generated on</td>
|
||||
<td class="property_value">2022-06-01 19:28:09.351103</td>
|
||||
<td class="property_value">2022-07-01 21:39:06.50205</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_name">last flyway file</td>
|
||||
<td id="lastFlywayFile" class="property_value">V118__drop_billing_identifier_column_from_registrar.sql</td>
|
||||
<td id="lastFlywayFile" class="property_value">V119__token_registration_behavior.sql</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -274,19 +274,19 @@ td.section {
|
|||
<svg viewbox="0.00 0.00 4249.00 2959.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="erDiagram" style="overflow: hidden; width: 100%; height: 800px"><g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 2955.5)">
|
||||
<title>SchemaCrawler_Diagram</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-2955.5 4245,-2955.5 4245,4 -4,4" />
|
||||
<text text-anchor="start" x="3972.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="3980.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
generated by
|
||||
</text>
|
||||
<text text-anchor="start" x="4055.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="4063.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
SchemaCrawler 16.10.1
|
||||
</text>
|
||||
<text text-anchor="start" x="3971.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="3979.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
generated on
|
||||
</text>
|
||||
<text text-anchor="start" x="4055.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
2022-06-01 19:28:09.351103
|
||||
<text text-anchor="start" x="4063.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
2022-07-01 21:39:06.50205
|
||||
</text>
|
||||
<polygon fill="none" stroke="#888888" points="3968,-4 3968,-44 4233,-44 4233,-4 3968,-4" /> <!-- allocationtoken_a08ccbef -->
|
||||
<polygon fill="none" stroke="#888888" points="3976,-4 3976,-44 4233,-44 4233,-4 3976,-4" /> <!-- allocationtoken_a08ccbef -->
|
||||
<g id="node1" class="node">
|
||||
<title>allocationtoken_a08ccbef</title>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="2521.5,-271 2521.5,-290 2707.5,-290 2707.5,-271 2521.5,-271" />
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -116,3 +116,4 @@ V115__add_renewal_columns_to_billing_recurrence.sql
|
|||
V116__add_renewal_column_to_allocation_token.sql
|
||||
V117__add_billing_recurrence_last_expansion_column.sql
|
||||
V118__drop_billing_identifier_column_from_registrar.sql
|
||||
V119__token_registration_behavior.sql
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
-- Copyright 2022 The Nomulus Authors. All Rights Reserved.
|
||||
--
|
||||
-- Licensed under the Apache License, Version 2.0 (the "License");
|
||||
-- you may not use this file except in compliance with the License.
|
||||
-- You may obtain a copy of the License at
|
||||
--
|
||||
-- http://www.apache.org/licenses/LICENSE-2.0
|
||||
--
|
||||
-- Unless required by applicable law or agreed to in writing, software
|
||||
-- distributed under the License is distributed on an "AS IS" BASIS,
|
||||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
-- See the License for the specific language governing permissions and
|
||||
-- limitations under the License.
|
||||
|
||||
ALTER TABLE "AllocationToken" ADD COLUMN "registration_behavior" text NOT NULL DEFAULT 'DEFAULT';
|
|
@ -52,7 +52,8 @@ CREATE TABLE public."AllocationToken" (
|
|||
token_status_transitions public.hstore,
|
||||
token_type text,
|
||||
redemption_domain_history_id bigint,
|
||||
renewal_price_behavior text DEFAULT 'DEFAULT'::text NOT NULL
|
||||
renewal_price_behavior text DEFAULT 'DEFAULT'::text NOT NULL,
|
||||
registration_behavior text DEFAULT 'DEFAULT'::text NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue