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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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