mirror of
https://github.com/google/nomulus.git
synced 2025-05-22 04:09:46 +02:00
Migrate Registry objects to a TLD table in Cloud SQL (#803)
* Add TLD table * Change reservedLists to array * Change ReservedLists back to a set * Rename reservedListKeyConverter to ReservedListKeySetConverter * Add a postload method
This commit is contained in:
parent
b6ed1982c3
commit
5b78844a94
10 changed files with 335 additions and 105 deletions
|
@ -580,6 +580,46 @@ create sequence temp_history_id_sequence start 1 increment 50;
|
|||
primary key (id)
|
||||
);
|
||||
|
||||
create table "Tld" (
|
||||
tld_name text not null,
|
||||
add_grace_period_length interval not null,
|
||||
allowed_fully_qualified_host_names text[],
|
||||
allowed_registrant_contact_ids text[],
|
||||
anchor_tenant_add_grace_period_length interval not null,
|
||||
auto_renew_grace_period_length interval not null,
|
||||
automatic_transfer_length interval not null,
|
||||
claims_period_end timestamptz not null,
|
||||
create_billing_cost_amount numeric(19, 2),
|
||||
create_billing_cost_currency text,
|
||||
creation_time timestamptz not null,
|
||||
currency text not null,
|
||||
dns_paused boolean not null,
|
||||
dns_writers text[] not null,
|
||||
drive_folder_id text,
|
||||
eap_fee_schedule hstore not null,
|
||||
escrow_enabled boolean not null,
|
||||
invoicing_enabled boolean not null,
|
||||
lordn_username text,
|
||||
num_dns_publish_locks int4 not null,
|
||||
pending_delete_length interval not null,
|
||||
premium_list_name text,
|
||||
pricing_engine_class_name text,
|
||||
redemption_grace_period_length interval not null,
|
||||
renew_billing_cost_transitions hstore not null,
|
||||
renew_grace_period_length interval not null,
|
||||
reserved_list_names text[] not null,
|
||||
restore_billing_cost_amount numeric(19, 2),
|
||||
restore_billing_cost_currency text,
|
||||
roid_suffix text,
|
||||
server_status_change_billing_cost_amount numeric(19, 2),
|
||||
server_status_change_billing_cost_currency text,
|
||||
tld_state_transitions hstore not null,
|
||||
tld_type text not null,
|
||||
tld_unicode text not null,
|
||||
transfer_grace_period_length interval not null,
|
||||
primary key (tld_name)
|
||||
);
|
||||
|
||||
create table "Transaction" (
|
||||
id bigserial not null,
|
||||
contents bytea,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue