From 9333d09410953e0f3ad7540f836b7cafeb057e06 Mon Sep 17 00:00:00 2001 From: ptkach Date: Mon, 2 Jun 2025 14:47:54 +0000 Subject: [PATCH] Add RegistrarPoc id column --- .../sql/er_diagram/brief_er_diagram.html | 8 +- .../sql/er_diagram/full_er_diagram.html | 4216 +++++++++-------- db/src/main/resources/sql/flyway.txt | 1 + .../sql/flyway/V195__registrar_poc_id.sql | 15 + .../resources/sql/schema/nomulus.golden.sql | 29 +- 5 files changed, 2166 insertions(+), 2103 deletions(-) create mode 100644 db/src/main/resources/sql/flyway/V195__registrar_poc_id.sql diff --git a/db/src/main/resources/sql/er_diagram/brief_er_diagram.html b/db/src/main/resources/sql/er_diagram/brief_er_diagram.html index 9afdc32450f..ff8167034ef 100644 --- a/db/src/main/resources/sql/er_diagram/brief_er_diagram.html +++ b/db/src/main/resources/sql/er_diagram/brief_er_diagram.html @@ -261,11 +261,11 @@

System Information

generated on - 2025-05-15 19:22:21 + 2025-06-02 14:41:34 last flyway file - V194__password_reset_request_registrar.sql + V195__registrar_poc_id.sql @@ -280,7 +280,7 @@

System Information

generated by SchemaCrawler 16.25.2 generated on - 2025-05-15 19:22:21 + 2025-06-02 14:41:34 @@ -2702,7 +2702,7 @@ <h2>Tables</h2> <tr> <td class="spacer"></td> <td class="minwidth"></td> - <td class="minwidth">default '2021-05-31 20:00:00-04'::timestamp with time zone</td> + <td class="minwidth">default '2021-06-01 00:00:00+00'::timestamp with time zone</td> </tr> <tr> <td colspan="3"></td> diff --git a/db/src/main/resources/sql/er_diagram/full_er_diagram.html b/db/src/main/resources/sql/er_diagram/full_er_diagram.html index 0e05a2c0875..d40163df17a 100644 --- a/db/src/main/resources/sql/er_diagram/full_er_diagram.html +++ b/db/src/main/resources/sql/er_diagram/full_er_diagram.html @@ -261,3085 +261,3090 @@ <h2>System Information</h2> </tr> <tr> <td class="property_name">generated on</td> - <td class="property_value">2025-05-15 19:22:16</td> + <td class="property_value">2025-06-02 14:41:30</td> </tr> <tr> <td class="property_name">last flyway file</td> - <td id="lastFlywayFile" class="property_value">V194__password_reset_request_registrar.sql</td> + <td id="lastFlywayFile" class="property_value">V195__registrar_poc_id.sql</td> </tr> </tbody> </table> <p> </p> <p> </p> - <svg viewBox="0.00 0.00 5683.00 8146.00" 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 8142)"> + <svg viewBox="0.00 0.00 5683.00 8184.00" 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 8180)"> <title> SchemaCrawler_Diagram - + generated by SchemaCrawler 16.25.2 generated on - 2025-05-15 19:22:16 + 2025-06-02 14:41:30 allocationtoken_a08ccbef - - public."AllocationToken" - - [table] - token + + public."AllocationToken" + + [table] + token + + text not null + update_timestamp + + timestamptz + allowed_registrar_ids - text not null - update_timestamp + _text + allowed_tlds - timestamptz - allowed_registrar_ids + _text + creation_time - _text - allowed_tlds + timestamptz not null + discount_fraction - _text - creation_time + float8(17, 17) not null + discount_premiums - timestamptz not null - discount_fraction + bool not null + discount_years - float8(17, 17) not null - discount_premiums + int4 not null + domain_name - bool not null - discount_years + text + redemption_domain_repo_id - int4 not null - domain_name + text + token_status_transitions - text - redemption_domain_repo_id + hstore + token_type text - token_status_transitions + redemption_domain_history_id - hstore - token_type + int8 + renewal_price_behavior - text - redemption_domain_history_id + text not null + registration_behavior - int8 - renewal_price_behavior + text not null + allowed_epp_actions - text not null - registration_behavior + _text + renewal_price_amount - text not null - allowed_epp_actions + numeric(19, 2) + renewal_price_currency - _text - renewal_price_amount + text + discount_price_amount numeric(19, 2) - renewal_price_currency + discount_price_currency text - discount_price_amount - - numeric(19, 2) - discount_price_currency - - text - + billingevent_a57d1815 - - public."BillingEvent" - - [table] - billing_event_id + + public."BillingEvent" + + [table] + billing_event_id + + int8 not null + registrar_id + + text not null + domain_history_revision_id int8 not null - registrar_id + domain_repo_id text not null - domain_history_revision_id + event_time - int8 not null - domain_repo_id + timestamptz not null + flags - text not null - event_time + _text + reason - timestamptz not null - flags + text not null + domain_name - _text - reason + text not null + allocation_token - text not null - domain_name + text + billing_time - text not null - allocation_token + timestamptz + cancellation_matching_billing_recurrence_id - text - billing_time + int8 + cost_amount - timestamptz - cancellation_matching_billing_recurrence_id + numeric(19, 2) + cost_currency - int8 - cost_amount + text + period_years - numeric(19, 2) - cost_currency + int4 + synthetic_creation_time - text - period_years + timestamptz + recurrence_history_revision_id - int4 - synthetic_creation_time - - timestamptz - recurrence_history_revision_id - - int8 - + int8 + billingevent_a57d1815:w->allocationtoken_a08ccbef:e - - - - - - - - fk_billing_event_allocation_token + + + + + + + + fk_billing_event_allocation_token billingrecurrence_5fa2cb01 - - public."BillingRecurrence" - - [table] - billing_recurrence_id + + public."BillingRecurrence" + + [table] + billing_recurrence_id + + int8 not null + registrar_id + + text not null + domain_history_revision_id int8 not null - registrar_id + domain_repo_id text not null - domain_history_revision_id + event_time - int8 not null - domain_repo_id + timestamptz not null + flags - text not null - event_time + _text + reason - timestamptz not null - flags + text not null + domain_name - _text - reason + text not null + recurrence_end_time - text not null - domain_name + timestamptz + recurrence_time_of_year - text not null - recurrence_end_time + text + renewal_price_behavior - timestamptz - recurrence_time_of_year + text not null + renewal_price_currency text - renewal_price_behavior + renewal_price_amount - text not null - renewal_price_currency + numeric(19, 2) + recurrence_last_expansion - text - renewal_price_amount - - numeric(19, 2) - recurrence_last_expansion - - timestamptz not null - + timestamptz not null + billingevent_a57d1815:w->billingrecurrence_5fa2cb01:e - - - - - - - - fk_billing_event_cancellation_matching_billing_recurrence_id + + + + + + + + fk_billing_event_cancellation_matching_billing_recurrence_id registrar_6e1503e3 - - public."Registrar" - - [table] - registrar_id + + public."Registrar" + + [table] + registrar_id + + text not null + allowed_tlds + + _text + billing_account_map - text not null - allowed_tlds + hstore + block_premium_names - _text - billing_account_map + bool not null + client_certificate - hstore - block_premium_names + text + client_certificate_hash - bool not null - client_certificate + text + contacts_require_syncing - text - client_certificate_hash + bool not null + creation_time - text - contacts_require_syncing + timestamptz not null + drive_folder_id - bool not null - creation_time + text + email_address - timestamptz not null - drive_folder_id + text + failover_client_certificate text - email_address + failover_client_certificate_hash text - failover_client_certificate + fax_number text - failover_client_certificate_hash + iana_identifier - text - fax_number + int8 + icann_referral_email text - iana_identifier + i18n_address_city - int8 - icann_referral_email + text + i18n_address_country_code text - i18n_address_city + i18n_address_state text - i18n_address_country_code + i18n_address_street_line1 text - i18n_address_state + i18n_address_street_line2 text - i18n_address_street_line1 + i18n_address_street_line3 text - i18n_address_street_line2 + i18n_address_zip text - i18n_address_street_line3 + ip_address_allow_list - text - i18n_address_zip + _text + last_certificate_update_time - text - ip_address_allow_list + timestamptz + last_update_time - _text - last_certificate_update_time + timestamptz not null + localized_address_city - timestamptz - last_update_time + text + localized_address_country_code - timestamptz not null - localized_address_city + text + localized_address_state text - localized_address_country_code + localized_address_street_line1 text - localized_address_state + localized_address_street_line2 text - localized_address_street_line1 + localized_address_street_line3 text - localized_address_street_line2 + localized_address_zip text - localized_address_street_line3 + password_hash text - localized_address_zip + phone_number text - password_hash + phone_passcode text - phone_number + po_number text - phone_passcode + rdap_base_urls - text - po_number + _text + registrar_name - text - rdap_base_urls + text not null + registry_lock_allowed - _text - registrar_name + bool not null + password_salt - text not null - registry_lock_allowed + text + state - bool not null - password_salt + text + type - text - state + text not null + url text - type + whois_server - text not null - url + text + last_expiring_cert_notification_sent_date - text - whois_server + timestamptz + last_expiring_failover_cert_notification_sent_date - text - last_expiring_cert_notification_sent_date + timestamptz + last_poc_verification_date timestamptz - last_expiring_failover_cert_notification_sent_date - - timestamptz - last_poc_verification_date - - timestamptz - + billingevent_a57d1815:w->registrar_6e1503e3:e - - - - - - - - fk_billing_event_registrar_id + + + + + + + + fk_billing_event_registrar_id domain_6c51cffa - - public."Domain" - - [table] - repo_id + + public."Domain" + + [table] + repo_id + + text not null + creation_registrar_id + + text not null + creation_time - text not null - creation_registrar_id + timestamptz not null + current_sponsor_registrar_id text not null - creation_time + deletion_time - timestamptz not null - current_sponsor_registrar_id + timestamptz + last_epp_update_registrar_id - text not null - deletion_time + text + last_epp_update_time timestamptz - last_epp_update_registrar_id + statuses - text - last_epp_update_time + _text + auth_info_repo_id - timestamptz - statuses + text + auth_info_value - _text - auth_info_repo_id + text + domain_name text - auth_info_value + idn_table_name text - domain_name + last_transfer_time - text - idn_table_name + timestamptz + launch_notice_accepted_time - text - last_transfer_time + timestamptz + launch_notice_expiration_time timestamptz - launch_notice_accepted_time + launch_notice_tcn_id - timestamptz - launch_notice_expiration_time + text + launch_notice_validator_id - timestamptz - launch_notice_tcn_id + text + registration_expiration_time - text - launch_notice_validator_id + timestamptz + smd_id text - registration_expiration_time + subordinate_hosts - timestamptz - smd_id + _text + tld text - subordinate_hosts + admin_contact - _text - tld + text + billing_contact text - admin_contact + registrant_contact text - billing_contact + tech_contact text - registrant_contact + transfer_poll_message_id_1 - text - tech_contact + int8 + transfer_poll_message_id_2 - text - transfer_poll_message_id_1 + int8 + transfer_billing_cancellation_id int8 - transfer_poll_message_id_2 + transfer_billing_event_id int8 - transfer_billing_cancellation_id + transfer_billing_recurrence_id int8 - transfer_billing_event_id + transfer_autorenew_poll_message_id int8 - transfer_billing_recurrence_id + transfer_renew_period_unit - int8 - transfer_autorenew_poll_message_id + text + transfer_renew_period_value - int8 - transfer_renew_period_unit + int4 + transfer_client_txn_id text - transfer_renew_period_value + transfer_server_txn_id - int4 - transfer_client_txn_id + text + transfer_registration_expiration_time - text - transfer_server_txn_id + timestamptz + transfer_gaining_registrar_id text - transfer_registration_expiration_time + transfer_losing_registrar_id - timestamptz - transfer_gaining_registrar_id + text + transfer_pending_expiration_time - text - transfer_losing_registrar_id + timestamptz + transfer_request_time - text - transfer_pending_expiration_time + timestamptz + transfer_status - timestamptz - transfer_request_time + text + update_timestamp timestamptz - transfer_status + billing_recurrence_id - text - update_timestamp + int8 + autorenew_poll_message_id - timestamptz - billing_recurrence_id + int8 + deletion_poll_message_id int8 - autorenew_poll_message_id + autorenew_end_time - int8 - deletion_poll_message_id + timestamptz + transfer_autorenew_poll_message_history_id int8 - autorenew_end_time + transfer_history_entry_id - timestamptz - transfer_autorenew_poll_message_history_id + int8 + transfer_repo_id - int8 - transfer_history_entry_id + text + transfer_poll_message_id_3 int8 - transfer_repo_id + current_package_token text - transfer_poll_message_id_3 + lordn_phase - int8 - current_package_token + text not null + last_update_time_via_epp - text - lordn_phase - - text not null - last_update_time_via_epp - - timestamptz - + timestamptz + domain_6c51cffa:w->allocationtoken_a08ccbef:e - - - - - - - - fk_domain_current_package_token + + + + + + + + fk_domain_current_package_token domain_6c51cffa:w->billingevent_a57d1815:e - - - - - - - - fk_domain_transfer_billing_event_id + + + + + + + + fk_domain_transfer_billing_event_id billingcancellation_6eedf614 - - public."BillingCancellation" - - [table] - billing_cancellation_id + + public."BillingCancellation" + + [table] + billing_cancellation_id + + int8 not null + registrar_id + + text not null + domain_history_revision_id int8 not null - registrar_id + domain_repo_id text not null - domain_history_revision_id + event_time - int8 not null - domain_repo_id + timestamptz not null + flags - text not null - event_time + _text + reason - timestamptz not null - flags + text not null + domain_name - _text - reason + text not null + billing_time - text not null - domain_name + timestamptz + billing_event_id - text not null - billing_time + int8 + billing_recurrence_id - timestamptz - billing_event_id - - int8 - billing_recurrence_id - - int8 - + int8 + domain_6c51cffa:w->billingcancellation_6eedf614:e - - - - - - - - fk_domain_transfer_billing_cancellation_id + + + + + + + + fk_domain_transfer_billing_cancellation_id domain_6c51cffa:w->billingrecurrence_5fa2cb01:e - - - - - - - - fk_domain_billing_recurrence_id + + + + + + + + fk_domain_billing_recurrence_id domain_6c51cffa:w->billingrecurrence_5fa2cb01:e - - - - - - - - fk_domain_transfer_billing_recurrence_id + + + + + + + + fk_domain_transfer_billing_recurrence_id contact_8de8cb16 - - public."Contact" - - [table] - repo_id + + public."Contact" + + [table] + repo_id + + text not null + creation_registrar_id + + text not null + creation_time - text not null - creation_registrar_id + timestamptz not null + current_sponsor_registrar_id text not null - creation_time + deletion_time - timestamptz not null - current_sponsor_registrar_id + timestamptz + last_epp_update_registrar_id - text not null - deletion_time + text + last_epp_update_time timestamptz - last_epp_update_registrar_id + statuses - text - last_epp_update_time + _text + auth_info_repo_id - timestamptz - statuses + text + auth_info_value - _text - auth_info_repo_id + text + contact_id text - auth_info_value + disclose_types_addr - text - contact_id + _text + disclose_show_email - text - disclose_types_addr + bool + disclose_show_fax - _text - disclose_show_email + bool + disclose_mode_flag bool - disclose_show_fax + disclose_types_name - bool - disclose_mode_flag + _text + disclose_types_org - bool - disclose_types_name + _text + disclose_show_voice - _text - disclose_types_org + bool + email - _text - disclose_show_voice + text + fax_phone_extension - bool - email + text + fax_phone_number text - fax_phone_extension + addr_i18n_city text - fax_phone_number + addr_i18n_country_code text - addr_i18n_city + addr_i18n_state text - addr_i18n_country_code + addr_i18n_street_line1 text - addr_i18n_state + addr_i18n_street_line2 text - addr_i18n_street_line1 + addr_i18n_street_line3 text - addr_i18n_street_line2 + addr_i18n_zip text - addr_i18n_street_line3 + addr_i18n_name text - addr_i18n_zip + addr_i18n_org text - addr_i18n_name + addr_i18n_type text - addr_i18n_org + last_transfer_time - text - addr_i18n_type + timestamptz + addr_local_city text - last_transfer_time + addr_local_country_code - timestamptz - addr_local_city + text + addr_local_state text - addr_local_country_code + addr_local_street_line1 text - addr_local_state + addr_local_street_line2 text - addr_local_street_line1 + addr_local_street_line3 text - addr_local_street_line2 + addr_local_zip text - addr_local_street_line3 + addr_local_name text - addr_local_zip + addr_local_org text - addr_local_name + addr_local_type text - addr_local_org + search_name text - addr_local_type + voice_phone_extension text - search_name + voice_phone_number text - voice_phone_extension + transfer_poll_message_id_1 - text - voice_phone_number + int8 + transfer_poll_message_id_2 - text - transfer_poll_message_id_1 + int8 + transfer_client_txn_id - int8 - transfer_poll_message_id_2 + text + transfer_server_txn_id - int8 - transfer_client_txn_id + text + transfer_gaining_registrar_id text - transfer_server_txn_id + transfer_losing_registrar_id text - transfer_gaining_registrar_id + transfer_pending_expiration_time - text - transfer_losing_registrar_id + timestamptz + transfer_request_time - text - transfer_pending_expiration_time + timestamptz + transfer_status - timestamptz - transfer_request_time + text + update_timestamp timestamptz - transfer_status + transfer_history_entry_id - text - update_timestamp + int8 + transfer_repo_id - timestamptz - transfer_history_entry_id + text + transfer_poll_message_id_3 int8 - transfer_repo_id + last_update_time_via_epp - text - transfer_poll_message_id_3 - - int8 - last_update_time_via_epp - - timestamptz - + timestamptz + domain_6c51cffa:w->contact_8de8cb16:e - - - - - - - - fk_domain_admin_contact + + + + + + + + fk_domain_admin_contact domain_6c51cffa:w->contact_8de8cb16:e - - - - - - - - fk_domain_billing_contact + + + + + + + + fk_domain_billing_contact domain_6c51cffa:w->contact_8de8cb16:e - - - - - - - - fk_domain_registrant_contact + + + + + + + + fk_domain_registrant_contact domain_6c51cffa:w->contact_8de8cb16:e - - - - - - - - fk_domain_tech_contact + + + + + + + + fk_domain_tech_contact domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - - fk2jc69qyg2tv9hhnmif6oa1cx1 + + + + + + + + fk2jc69qyg2tv9hhnmif6oa1cx1 domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - - fk2u3srsfbei272093m3b3xwj23 + + + + + + + + fk2u3srsfbei272093m3b3xwj23 domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - - fkjc0r9r5y1lfbt4gpbqw4wsuvq + + + + + + + + fkjc0r9r5y1lfbt4gpbqw4wsuvq domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - - fk_domain_transfer_gaining_registrar_id + + + + + + + + fk_domain_transfer_gaining_registrar_id domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - - fk_domain_transfer_losing_registrar_id + + + + + + + + fk_domain_transfer_losing_registrar_id tld_f1fa57e2 - - public."Tld" - - [table] - tld_name + + public."Tld" + + [table] + tld_name + + text not null + add_grace_period_length + + interval not null + allowed_fully_qualified_host_names - text not null - add_grace_period_length + _text + allowed_registrant_contact_ids - interval not null - allowed_fully_qualified_host_names + _text + anchor_tenant_add_grace_period_length - _text - allowed_registrant_contact_ids + interval not null + auto_renew_grace_period_length - _text - anchor_tenant_add_grace_period_length + interval not null + automatic_transfer_length interval not null - auto_renew_grace_period_length + claims_period_end - interval not null - automatic_transfer_length + timestamptz not null + creation_time - interval not null - claims_period_end + timestamptz not null + currency - timestamptz not null - creation_time + text not null + dns_paused - timestamptz not null - currency + bool not null + dns_writers - text not null - dns_paused + _text not null + drive_folder_id - bool not null - dns_writers + text + eap_fee_schedule - _text not null - drive_folder_id + hstore not null + escrow_enabled - text - eap_fee_schedule + bool not null + invoicing_enabled - hstore not null - escrow_enabled + bool not null + lordn_username - bool not null - invoicing_enabled + text + num_dns_publish_locks - bool not null - lordn_username + int4 not null + pending_delete_length - text - num_dns_publish_locks + interval not null + premium_list_name - int4 not null - pending_delete_length + text + pricing_engine_class_name - interval not null - premium_list_name + text + redemption_grace_period_length - text - pricing_engine_class_name + interval not null + registry_lock_or_unlock_cost_amount - text - redemption_grace_period_length + numeric(19, 2) + registry_lock_or_unlock_cost_currency - interval not null - registry_lock_or_unlock_cost_amount + text + renew_billing_cost_transitions - numeric(19, 2) - registry_lock_or_unlock_cost_currency + hstore not null + renew_grace_period_length - text - renew_billing_cost_transitions + interval not null + reserved_list_names - hstore not null - renew_grace_period_length + _text + restore_billing_cost_amount - interval not null - reserved_list_names + numeric(19, 2) + restore_billing_cost_currency - _text - restore_billing_cost_amount + text + roid_suffix - numeric(19, 2) - restore_billing_cost_currency + text + server_status_change_billing_cost_amount - text - roid_suffix + numeric(19, 2) + server_status_change_billing_cost_currency text - server_status_change_billing_cost_amount + tld_state_transitions - numeric(19, 2) - server_status_change_billing_cost_currency + hstore not null + tld_type - text - tld_state_transitions + text not null + tld_unicode - hstore not null - tld_type + text not null + transfer_grace_period_length - text not null - tld_unicode + interval not null + default_promo_tokens - text not null - transfer_grace_period_length + _text + dns_a_plus_aaaa_ttl - interval not null - default_promo_tokens + interval + dns_ds_ttl - _text - dns_a_plus_aaaa_ttl + interval + dns_ns_ttl interval - dns_ds_ttl + idn_tables - interval - dns_ns_ttl + _text + breakglass_mode - interval - idn_tables + bool not null + bsa_enroll_start_time - _text - breakglass_mode + timestamptz + create_billing_cost_transitions - bool not null - bsa_enroll_start_time - - timestamptz - create_billing_cost_transitions - - hstore not null - + hstore not null + domain_6c51cffa:w->tld_f1fa57e2:e - - - - - - - - fk_domain_tld + + + + + + + + fk_domain_tld domainhistory_a54cc226 - - public."DomainHistory" - - [table] - history_revision_id + + public."DomainHistory" + + [table] + history_revision_id + + int8 not null + history_by_superuser + + bool not null + history_registrar_id - int8 not null - history_by_superuser + text + history_modification_time - bool not null - history_registrar_id + timestamptz not null + history_reason text - history_modification_time + history_requested_by_registrar - timestamptz not null - history_reason + bool + history_client_transaction_id text - history_requested_by_registrar + history_server_transaction_id - bool - history_client_transaction_id + text + history_type - text - history_server_transaction_id + text not null + history_xml_bytes - text - history_type + bytea + admin_contact - text not null - history_xml_bytes + text + auth_info_repo_id - bytea - admin_contact + text + auth_info_value text - auth_info_repo_id + billing_recurrence_id - text - auth_info_value + int8 + autorenew_poll_message_id - text - billing_recurrence_id + int8 + billing_contact - int8 - autorenew_poll_message_id + text + deletion_poll_message_id int8 - billing_contact + domain_name text - deletion_poll_message_id + idn_table_name - int8 - domain_name + text + last_transfer_time - text - idn_table_name + timestamptz + launch_notice_accepted_time - text - last_transfer_time + timestamptz + launch_notice_expiration_time timestamptz - launch_notice_accepted_time + launch_notice_tcn_id - timestamptz - launch_notice_expiration_time + text + launch_notice_validator_id - timestamptz - launch_notice_tcn_id + text + registrant_contact text - launch_notice_validator_id + registration_expiration_time - text - registrant_contact + timestamptz + smd_id text - registration_expiration_time + subordinate_hosts - timestamptz - smd_id + _text + tech_contact text - subordinate_hosts + tld - _text - tech_contact + text + transfer_billing_cancellation_id - text - tld + int8 + transfer_billing_recurrence_id - text - transfer_billing_cancellation_id + int8 + transfer_autorenew_poll_message_id int8 - transfer_billing_recurrence_id + transfer_billing_event_id int8 - transfer_autorenew_poll_message_id + transfer_renew_period_unit - int8 - transfer_billing_event_id + text + transfer_renew_period_value - int8 - transfer_renew_period_unit + int4 + transfer_registration_expiration_time - text - transfer_renew_period_value + timestamptz + transfer_poll_message_id_1 - int4 - transfer_registration_expiration_time + int8 + transfer_poll_message_id_2 - timestamptz - transfer_poll_message_id_1 + int8 + transfer_client_txn_id - int8 - transfer_poll_message_id_2 + text + transfer_server_txn_id - int8 - transfer_client_txn_id + text + transfer_gaining_registrar_id text - transfer_server_txn_id + transfer_losing_registrar_id text - transfer_gaining_registrar_id + transfer_pending_expiration_time - text - transfer_losing_registrar_id + timestamptz + transfer_request_time - text - transfer_pending_expiration_time + timestamptz + transfer_status - timestamptz - transfer_request_time + text + creation_registrar_id - timestamptz - transfer_status + text + creation_time - text - creation_registrar_id + timestamptz + current_sponsor_registrar_id text - creation_time + deletion_time timestamptz - current_sponsor_registrar_id + last_epp_update_registrar_id text - deletion_time + last_epp_update_time timestamptz - last_epp_update_registrar_id + statuses - text - last_epp_update_time + _text + update_timestamp timestamptz - statuses + domain_repo_id - _text - update_timestamp + text not null + autorenew_end_time timestamptz - domain_repo_id + history_other_registrar_id - text not null - autorenew_end_time + text + history_period_unit - timestamptz - history_other_registrar_id + text + history_period_value - text - history_period_unit + int4 + autorenew_poll_message_history_id - text - history_period_value + int8 + transfer_autorenew_poll_message_history_id - int4 - autorenew_poll_message_history_id + int8 + transfer_history_entry_id int8 - transfer_autorenew_poll_message_history_id + transfer_repo_id - int8 - transfer_history_entry_id + text + transfer_poll_message_id_3 int8 - transfer_repo_id + current_package_token text - transfer_poll_message_id_3 + lordn_phase - int8 - current_package_token + text not null + last_update_time_via_epp - text - lordn_phase - - text not null - last_update_time_via_epp - - timestamptz - + timestamptz + domainhistory_a54cc226:w->allocationtoken_a08ccbef:e - - - - - - - - fk_domain_history_current_package_token + + + + + + + + fk_domain_history_current_package_token domainhistory_a54cc226:w->domain_6c51cffa:e - - - - - - - - fk_domain_history_domain_repo_id + + + + + + + + fk_domain_history_domain_repo_id domainhistory_a54cc226:w->registrar_6e1503e3:e - - - - - - - - fk_domain_history_registrar_id + + + + + + + + fk_domain_history_registrar_id billingcancellation_6eedf614:w->billingevent_a57d1815:e - - - - - - - - fk_billing_cancellation_billing_event_id + + + + + + + + fk_billing_cancellation_billing_event_id billingcancellation_6eedf614:w->billingrecurrence_5fa2cb01:e - - - - - - - - fk_billing_cancellation_billing_recurrence_id + + + + + + + + fk_billing_cancellation_billing_recurrence_id billingcancellation_6eedf614:w->registrar_6e1503e3:e - - - - - - - - fk_billing_cancellation_registrar_id + + + + + + + + fk_billing_cancellation_registrar_id graceperiod_cd3b2e8f - - public."GracePeriod" - - [table] - grace_period_id + + public."GracePeriod" + + [table] + grace_period_id + + int8 not null + billing_event_id + + int8 + billing_recurrence_id - int8 not null - billing_event_id + int8 + registrar_id - int8 - billing_recurrence_id + text not null + domain_repo_id - int8 - registrar_id + text not null + expiration_time - text not null - domain_repo_id + timestamptz not null + type text not null - expiration_time - - timestamptz not null - type - - text not null - + graceperiod_cd3b2e8f:w->billingevent_a57d1815:e - - - - - - - - fk_grace_period_billing_event_id + + + + + + + + fk_grace_period_billing_event_id graceperiod_cd3b2e8f:w->domain_6c51cffa:e - - - - - - - - fk_grace_period_domain_repo_id + + + + + + + + fk_grace_period_domain_repo_id graceperiod_cd3b2e8f:w->billingrecurrence_5fa2cb01:e - - - - - - - - fk_grace_period_billing_recurrence_id + + + + + + + + fk_grace_period_billing_recurrence_id graceperiod_cd3b2e8f:w->registrar_6e1503e3:e - - - - - - - - fk_grace_period_registrar_id + + + + + + + + fk_grace_period_registrar_id billingrecurrence_5fa2cb01:w->registrar_6e1503e3:e - - - - - - - - fk_billing_recurrence_registrar_id + + + + + + + + fk_billing_recurrence_registrar_id bsadomainrefresh_c8f4c45d - - public."BsaDomainRefresh" - - [table] - job_id + + public."BsaDomainRefresh" + + [table] + job_id + + bigserial not null + + auto-incremented + creation_time - bigserial not null + timestamptz not null + stage - auto-incremented - creation_time + text not null + update_timestamp - timestamptz not null - stage - - text not null - update_timestamp - - timestamptz - + timestamptz + bsadownload_98d031ce - - public."BsaDownload" - - [table] - job_id + + public."BsaDownload" + + [table] + job_id + + bigserial not null + + auto-incremented + block_list_checksums - bigserial not null + text not null + creation_time - auto-incremented - block_list_checksums + timestamptz not null + stage text not null - creation_time + update_timestamp - timestamptz not null - stage - - text not null - update_timestamp - - timestamptz - + timestamptz + bsalabel_2755e1da - - public."BsaLabel" - - [table] - label - - text not null - creation_time - - timestamptz not null - + + public."BsaLabel" + + [table] + label + + text not null + creation_time + + timestamptz not null + bsaunblockabledomain_b739a38 - - public."BsaUnblockableDomain" - - [table] - label + + public."BsaUnblockableDomain" + + [table] + label + + text not null + tld + + text not null + creation_time - text not null - tld + timestamptz not null + reason text not null - creation_time - - timestamptz not null - reason - - text not null - + bsaunblockabledomain_b739a38:w->bsalabel_2755e1da:e - - - - - - - - fkbsaunblockabledomainlabel + + + + + + + + fkbsaunblockabledomainlabel claimsentry_105da9f1 - - public."ClaimsEntry" - - [table] - revision_id + + public."ClaimsEntry" + + [table] + revision_id + + int8 not null + claim_key + + text not null + domain_label - int8 not null - claim_key - - text not null - domain_label - - text not null - + text not null + claimslist_3d49bc2b - - public."ClaimsList" - - [table] - revision_id + + public."ClaimsList" + + [table] + revision_id + + bigserial not null + + auto-incremented + creation_timestamp - bigserial not null + timestamptz not null + tmdb_generation_time - auto-incremented - creation_timestamp - - timestamptz not null - tmdb_generation_time - - timestamptz not null - + timestamptz not null + claimsentry_105da9f1:w->claimslist_3d49bc2b:e - - - - - - - - fk6sc6at5hedffc0nhdcab6ivuq + + + + + + + + fk6sc6at5hedffc0nhdcab6ivuq consoleeppactionhistory_bcc2a2c6 - - public."ConsoleEppActionHistory" - - [table] - history_revision_id + + public."ConsoleEppActionHistory" + + [table] + history_revision_id + + int8 not null + history_modification_time + + timestamptz not null + history_method - int8 not null - history_modification_time + text not null + history_request_body - timestamptz not null - history_method + text + history_type text not null - history_request_body + history_url - text - history_type + text not null + history_entry_class text not null - history_url + repo_id text not null - history_entry_class + revision_id - text not null - repo_id + int8 not null + history_acting_user text not null - revision_id - - int8 not null - history_acting_user - - text not null - + consoleupdatehistory_5237b2aa - - public."ConsoleUpdateHistory" - - [table] - revision_id + + public."ConsoleUpdateHistory" + + [table] + revision_id + + int8 not null + modification_time + + timestamptz not null + "method" - int8 not null - modification_time + text not null + type - timestamptz not null - "method" + text not null + url text not null - type + description - text not null - url + text + acting_user text not null - description - - text - acting_user - - text not null - + user_f2216f01 - - public."User" - - [table] - email_address + + public."User" + + [table] + email_address + + text not null + registry_lock_password_hash + + text + registry_lock_password_salt - text not null - registry_lock_password_hash + text + global_role - text - registry_lock_password_salt + text not null + is_admin - text - global_role + bool not null + registrar_roles - text not null - is_admin + hstore not null + update_timestamp - bool not null - registrar_roles + timestamptz + registry_lock_email_address - hstore not null - update_timestamp - - timestamptz - registry_lock_email_address - - text - + text + consoleupdatehistory_5237b2aa:w->user_f2216f01:e - - - - - - - - fk_console_update_history_acting_user + + + + + + + + fk_console_update_history_acting_user contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - - fk1sfyj7o7954prbn1exk7lpnoe + + + + + + + + fk1sfyj7o7954prbn1exk7lpnoe contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - - fk93c185fx7chn68uv7nl6uv2s0 + + + + + + + + fk93c185fx7chn68uv7nl6uv2s0 contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - - fkmb7tdiv85863134w1wogtxrb2 + + + + + + + + fkmb7tdiv85863134w1wogtxrb2 contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - - fk_contact_transfer_gaining_registrar_id + + + + + + + + fk_contact_transfer_gaining_registrar_id contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - - fk_contact_transfer_losing_registrar_id + + + + + + + + fk_contact_transfer_losing_registrar_id contacthistory_d2964f8a - - public."ContactHistory" - - [table] - history_revision_id + + public."ContactHistory" + + [table] + history_revision_id + + int8 not null + history_by_superuser + + bool not null + history_registrar_id - int8 not null - history_by_superuser + text + history_modification_time - bool not null - history_registrar_id + timestamptz not null + history_reason text - history_modification_time + history_requested_by_registrar - timestamptz not null - history_reason + bool + history_client_transaction_id text - history_requested_by_registrar + history_server_transaction_id - bool - history_client_transaction_id + text + history_type - text - history_server_transaction_id + text not null + history_xml_bytes - text - history_type + bytea + auth_info_repo_id - text not null - history_xml_bytes + text + auth_info_value - bytea - auth_info_repo_id + text + contact_id text - auth_info_value + disclose_types_addr - text - contact_id + _text + disclose_show_email - text - disclose_types_addr + bool + disclose_show_fax - _text - disclose_show_email + bool + disclose_mode_flag bool - disclose_show_fax + disclose_types_name - bool - disclose_mode_flag + _text + disclose_types_org - bool - disclose_types_name + _text + disclose_show_voice - _text - disclose_types_org + bool + email - _text - disclose_show_voice + text + fax_phone_extension - bool - email + text + fax_phone_number text - fax_phone_extension + addr_i18n_city text - fax_phone_number + addr_i18n_country_code text - addr_i18n_city + addr_i18n_state text - addr_i18n_country_code + addr_i18n_street_line1 text - addr_i18n_state + addr_i18n_street_line2 text - addr_i18n_street_line1 + addr_i18n_street_line3 text - addr_i18n_street_line2 + addr_i18n_zip text - addr_i18n_street_line3 + addr_i18n_name text - addr_i18n_zip + addr_i18n_org text - addr_i18n_name + addr_i18n_type text - addr_i18n_org + last_transfer_time - text - addr_i18n_type + timestamptz + addr_local_city text - last_transfer_time + addr_local_country_code - timestamptz - addr_local_city + text + addr_local_state text - addr_local_country_code + addr_local_street_line1 text - addr_local_state + addr_local_street_line2 text - addr_local_street_line1 + addr_local_street_line3 text - addr_local_street_line2 + addr_local_zip text - addr_local_street_line3 + addr_local_name text - addr_local_zip + addr_local_org text - addr_local_name + addr_local_type text - addr_local_org + search_name text - addr_local_type + transfer_poll_message_id_1 - text - search_name + int8 + transfer_poll_message_id_2 - text - transfer_poll_message_id_1 + int8 + transfer_client_txn_id - int8 - transfer_poll_message_id_2 + text + transfer_server_txn_id - int8 - transfer_client_txn_id + text + transfer_gaining_registrar_id text - transfer_server_txn_id + transfer_losing_registrar_id text - transfer_gaining_registrar_id + transfer_pending_expiration_time - text - transfer_losing_registrar_id + timestamptz + transfer_request_time - text - transfer_pending_expiration_time + timestamptz + transfer_status - timestamptz - transfer_request_time + text + voice_phone_extension - timestamptz - transfer_status + text + voice_phone_number text - voice_phone_extension + creation_registrar_id text - voice_phone_number + creation_time - text - creation_registrar_id + timestamptz + current_sponsor_registrar_id text - creation_time + deletion_time timestamptz - current_sponsor_registrar_id + last_epp_update_registrar_id text - deletion_time + last_epp_update_time timestamptz - last_epp_update_registrar_id + statuses - text - last_epp_update_time + _text + contact_repo_id - timestamptz - statuses + text not null + update_timestamp - _text - contact_repo_id + timestamptz + transfer_history_entry_id - text not null - update_timestamp + int8 + transfer_repo_id - timestamptz - transfer_history_entry_id + text + transfer_poll_message_id_3 int8 - transfer_repo_id + last_update_time_via_epp - text - transfer_poll_message_id_3 - - int8 - last_update_time_via_epp - - timestamptz - + timestamptz + contacthistory_d2964f8a:w->contact_8de8cb16:e - - - - - - - - fk_contact_history_contact_repo_id + + + + + + + + fk_contact_history_contact_repo_id contacthistory_d2964f8a:w->registrar_6e1503e3:e - - - - - - - - fk_contact_history_registrar_id + + + + + + + + fk_contact_history_registrar_id pollmessage_614a523e - - public."PollMessage" - - [table] - type + + public."PollMessage" + + [table] + type + + text not null + poll_message_id + + int8 not null + registrar_id text not null - poll_message_id + contact_repo_id - int8 not null - registrar_id + text + contact_history_revision_id - text not null - contact_repo_id + int8 + domain_repo_id text - contact_history_revision_id + domain_history_revision_id int8 - domain_repo_id + event_time - text - domain_history_revision_id + timestamptz not null + host_repo_id - int8 - event_time + text + host_history_revision_id - timestamptz not null - host_repo_id + int8 + message text - host_history_revision_id + transfer_response_contact_id - int8 - message + text + transfer_response_domain_expiration_time - text - transfer_response_contact_id + timestamptz + transfer_response_domain_name text - transfer_response_domain_expiration_time + pending_action_response_action_result - timestamptz - transfer_response_domain_name + bool + pending_action_response_name_or_id text - pending_action_response_action_result + pending_action_response_processed_date - bool - pending_action_response_name_or_id + timestamptz + pending_action_response_client_txn_id text - pending_action_response_processed_date + pending_action_response_server_txn_id - timestamptz - pending_action_response_client_txn_id + text + transfer_response_gaining_registrar_id text - pending_action_response_server_txn_id + transfer_response_losing_registrar_id text - transfer_response_gaining_registrar_id + transfer_response_pending_transfer_expiration_time - text - transfer_response_losing_registrar_id + timestamptz + transfer_response_transfer_request_time - text - transfer_response_pending_transfer_expiration_time + timestamptz + transfer_response_transfer_status - timestamptz - transfer_response_transfer_request_time + text + autorenew_end_time timestamptz - transfer_response_transfer_status + autorenew_domain_name text - autorenew_end_time + transfer_response_host_id - timestamptz - autorenew_domain_name - - text - transfer_response_host_id - - text - + text + pollmessage_614a523e:w->domain_6c51cffa:e - - - - - - - - fk_poll_message_domain_repo_id + + + + + + + + fk_poll_message_domain_repo_id pollmessage_614a523e:w->contact_8de8cb16:e - - - - - - - - fk_poll_message_contact_repo_id + + + + + + + + fk_poll_message_contact_repo_id pollmessage_614a523e:w->contacthistory_d2964f8a:e - - - - - - - - fk_poll_message_contact_history + + + + + + + + fk_poll_message_contact_history pollmessage_614a523e:w->contacthistory_d2964f8a:e - - - - - - - - fk_poll_message_contact_history + + + + + + + + fk_poll_message_contact_history host_f21b78de - - public."Host" - - [table] - repo_id + + public."Host" + + [table] + repo_id + + text not null + creation_registrar_id + + text + creation_time - text not null - creation_registrar_id + timestamptz + current_sponsor_registrar_id text - creation_time + deletion_time timestamptz - current_sponsor_registrar_id + last_epp_update_registrar_id text - deletion_time + last_epp_update_time timestamptz - last_epp_update_registrar_id + statuses - text - last_epp_update_time + _text + host_name - timestamptz - statuses + text + last_superordinate_change - _text - host_name + timestamptz + last_transfer_time - text - last_superordinate_change + timestamptz + superordinate_domain - timestamptz - last_transfer_time + text + inet_addresses - timestamptz - superordinate_domain + _text + update_timestamp - text - inet_addresses + timestamptz + transfer_poll_message_id_3 - _text - update_timestamp + int8 + last_update_time_via_epp timestamptz - transfer_poll_message_id_3 - - int8 - last_update_time_via_epp - - timestamptz - + pollmessage_614a523e:w->host_f21b78de:e - - - - - - - - fk_poll_message_host_repo_id + + + + + + + + fk_poll_message_host_repo_id hosthistory_56210c2 - - public."HostHistory" - - [table] - history_revision_id + + public."HostHistory" + + [table] + history_revision_id + + int8 not null + history_by_superuser + + bool not null + history_registrar_id - int8 not null - history_by_superuser + text not null + history_modification_time - bool not null - history_registrar_id + timestamptz not null + history_reason - text not null - history_modification_time + text + history_requested_by_registrar - timestamptz not null - history_reason + bool + history_client_transaction_id text - history_requested_by_registrar + history_server_transaction_id - bool - history_client_transaction_id + text + history_type - text - history_server_transaction_id + text not null + history_xml_bytes - text - history_type + bytea + host_name - text not null - history_xml_bytes + text + inet_addresses - bytea - host_name + _text + last_superordinate_change - text - inet_addresses + timestamptz + last_transfer_time - _text - last_superordinate_change + timestamptz + superordinate_domain - timestamptz - last_transfer_time + text + creation_registrar_id - timestamptz - superordinate_domain + text + creation_time - text - creation_registrar_id + timestamptz + current_sponsor_registrar_id text - creation_time + deletion_time timestamptz - current_sponsor_registrar_id + last_epp_update_registrar_id text - deletion_time + last_epp_update_time timestamptz - last_epp_update_registrar_id + statuses - text - last_epp_update_time + _text + host_repo_id - timestamptz - statuses + text not null + update_timestamp - _text - host_repo_id + timestamptz + transfer_poll_message_id_3 - text not null - update_timestamp + int8 + last_update_time_via_epp timestamptz - transfer_poll_message_id_3 - - int8 - last_update_time_via_epp - - timestamptz - + pollmessage_614a523e:w->hosthistory_56210c2:e - - - - - - - - fk_poll_message_host_history + + + + + + + + fk_poll_message_host_history pollmessage_614a523e:w->hosthistory_56210c2:e - - - - - - - - fk_poll_message_host_history + + + + + + + + fk_poll_message_host_history pollmessage_614a523e:w->registrar_6e1503e3:e - - - - - - - - fk_poll_message_registrar_id + + + + + + + + fk_poll_message_registrar_id pollmessage_614a523e:w->registrar_6e1503e3:e - - - - - - - - fk_poll_message_transfer_response_gaining_registrar_id + + + + + + + + fk_poll_message_transfer_response_gaining_registrar_id pollmessage_614a523e:w->registrar_6e1503e3:e - - - - - - - - fk_poll_message_transfer_response_losing_registrar_id + + + + + + + + fk_poll_message_transfer_response_losing_registrar_id cursor_6af40e8c - - public."Cursor" - - [table] - "scope" + + public."Cursor" + + [table] + "scope" + + text not null + type + + text not null + cursor_time - text not null - type + timestamptz not null + last_update_time - text not null - cursor_time - - timestamptz not null - last_update_time - - timestamptz not null - + timestamptz not null + delegationsignerdata_e542a872 - - public."DelegationSignerData" - - [table] - domain_repo_id + + public."DelegationSignerData" + + [table] + domain_repo_id + + text not null + key_tag + + int4 not null + algorithm - text not null - key_tag + int4 not null + digest - int4 not null - algorithm + bytea not null + digest_type int4 not null - digest - - bytea not null - digest_type - - int4 not null - + delegationsignerdata_e542a872:w->domain_6c51cffa:e - - - - - - - - fktr24j9v14ph2mfuw2gsmt12kq + + + + + + + + fktr24j9v14ph2mfuw2gsmt12kq dnsrefreshrequest_4e6affb3 - - public."DnsRefreshRequest" - - [table] - id + + public."DnsRefreshRequest" + + [table] + id + + bigserial not null + + auto-incremented + name - bigserial not null + text not null + request_time - auto-incremented - name + timestamptz not null + tld text not null - request_time + type - timestamptz not null - tld + text not null + last_process_time - text not null - type - - text not null - last_process_time - - timestamptz not null - + timestamptz not null + domainhost_1ea127c2 - - public."DomainHost" - - [table] - domain_repo_id - - text not null - host_repo_id - - text - + + public."DomainHost" + + [table] + domain_repo_id + + text not null + host_repo_id + + text + domainhost_1ea127c2:w->domain_6c51cffa:e - - - - - - - - fkfmi7bdink53swivs390m2btxg + + + + + + + + fkfmi7bdink53swivs390m2btxg domainhost_1ea127c2:w->host_f21b78de:e - - - - - - - - fk_domainhost_host_valid + + + + + + + + fk_domainhost_host_valid host_f21b78de:w->domain_6c51cffa:e - - - - - - - - fk_host_superordinate_domain + + + + + + + + fk_host_superordinate_domain host_f21b78de:w->registrar_6e1503e3:e - - - - - - - - fk_host_creation_registrar_id + + + + + + + + fk_host_creation_registrar_id host_f21b78de:w->registrar_6e1503e3:e - - - - - - - - fk_host_current_sponsor_registrar_id + + + + + + + + fk_host_current_sponsor_registrar_id host_f21b78de:w->registrar_6e1503e3:e - - - - - - - - fk_host_last_epp_update_registrar_id + + + + + + + + fk_host_last_epp_update_registrar_id domaindsdatahistory_995b060d - - public."DomainDsDataHistory" - - [table] - ds_data_history_revision_id + + public."DomainDsDataHistory" + + [table] + ds_data_history_revision_id + + int8 not null + algorithm + + int4 not null + digest - int8 not null - algorithm + bytea not null + digest_type int4 not null - digest + domain_history_revision_id - bytea not null - digest_type + int8 not null + key_tag int4 not null - domain_history_revision_id + domain_repo_id - int8 not null - key_tag - - int4 not null - domain_repo_id - - text - + text + domainhistoryhost_9f3f23ee - - public."DomainHistoryHost" - - [table] - domain_history_history_revision_id + + public."DomainHistoryHost" + + [table] + domain_history_history_revision_id + + int8 not null + host_repo_id + + text + domain_history_domain_repo_id - int8 not null - host_repo_id - - text - domain_history_domain_repo_id - - text not null - + text not null + domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e - - - - - - - - fka9woh3hu8gx5x0vly6bai327n + + + + + + + + fka9woh3hu8gx5x0vly6bai327n domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e - - - - - - - - fka9woh3hu8gx5x0vly6bai327n + + + + + + + + fka9woh3hu8gx5x0vly6bai327n domaintransactionrecord_6e77ff61 - - public."DomainTransactionRecord" - - [table] - id + + public."DomainTransactionRecord" + + [table] + id + + bigserial not null + + auto-incremented + report_amount - bigserial not null + int4 not null + report_field - auto-incremented - report_amount + text not null + reporting_time - int4 not null - report_field + timestamptz not null + tld text not null - reporting_time + domain_repo_id - timestamptz not null - tld + text + history_revision_id - text not null - domain_repo_id - - text - history_revision_id - - int8 - + int8 + domaintransactionrecord_6e77ff61:w->tld_f1fa57e2:e - - - - - - - - fk_domain_transaction_record_tld + + + + + + + + fk_domain_transaction_record_tld featureflag_3ee43a78 - - public."FeatureFlag" - - [table] - feature_name - - text not null - status - - hstore not null - + + public."FeatureFlag" + + [table] + feature_name + + text not null + status + + hstore not null + graceperiodhistory_40ccc1f1 - - public."GracePeriodHistory" - - [table] - grace_period_history_revision_id + + public."GracePeriodHistory" + + [table] + grace_period_history_revision_id + + int8 not null + billing_event_id + + int8 + billing_recurrence_id - int8 not null - billing_event_id + int8 + registrar_id - int8 - billing_recurrence_id + text not null + domain_repo_id - int8 - registrar_id + text not null + expiration_time - text not null - domain_repo_id + timestamptz not null + type text not null - expiration_time + domain_history_revision_id - timestamptz not null - type + int8 + grace_period_id - text not null - domain_history_revision_id - - int8 - grace_period_id - - int8 not null - + int8 not null + hosthistory_56210c2:w->host_f21b78de:e - - - - - - - - fk_hosthistory_host + + + + + + + + fk_hosthistory_host hosthistory_56210c2:w->registrar_6e1503e3:e - - - - - - - - fk_history_registrar_id + + + + + + + + fk_history_registrar_id lock_f21d4861 - - public."Lock" - - [table] - resource_name + + public."Lock" + + [table] + resource_name + + text not null + "scope" + + text not null + acquired_time - text not null - "scope" + timestamptz not null + expiration_time - text not null - acquired_time - - timestamptz not null - expiration_time - - timestamptz not null - + timestamptz not null + packagepromotion_56aa33 - - public."PackagePromotion" - - [table] - package_promotion_id + + public."PackagePromotion" + + [table] + package_promotion_id + + bigserial not null + + auto-incremented + last_notification_sent - bigserial not null + timestamptz + max_creates - auto-incremented - last_notification_sent + int4 not null + max_domains - timestamptz - max_creates + int4 not null + next_billing_date - int4 not null - max_domains + timestamptz not null + package_price_amount - int4 not null - next_billing_date + numeric(19, 2) not null + package_price_currency - timestamptz not null - package_price_amount + text not null + token - numeric(19, 2) not null - package_price_currency - - text not null - token - - text not null - + text not null + passwordresetrequest_8484e7b1 - - public."PasswordResetRequest" - - [table] - type + + public."PasswordResetRequest" + + [table] + type + + text not null + request_time + + timestamptz not null + requester text not null - request_time + fulfillment_time - timestamptz not null - requester + timestamptz + destination_email text not null - fulfillment_time + verification_code - timestamptz - destination_email + text not null + registrar_id text not null - verification_code - - text not null - registrar_id - - text not null - + premiumentry_b0060b91 - - public."PremiumEntry" - - [table] - revision_id + + public."PremiumEntry" + + [table] + revision_id + + int8 not null + price + + numeric(19, 2) not null + domain_label - int8 not null - price - - numeric(19, 2) not null - domain_label - - text not null - + text not null + premiumlist_7c3ea68b - - public."PremiumList" - - [table] - revision_id + + public."PremiumList" + + [table] + revision_id + + bigserial not null + + auto-incremented + creation_timestamp - bigserial not null + timestamptz + name - auto-incremented - creation_timestamp + text not null + bloom_filter - timestamptz - name + bytea not null + currency text not null - bloom_filter - - bytea not null - currency - - text not null - + premiumentry_b0060b91:w->premiumlist_7c3ea68b:e - - - - - - - - fko0gw90lpo1tuee56l0nb6y6g5 + + + + + + + + fko0gw90lpo1tuee56l0nb6y6g5 rderevision_83396864 - - public."RdeRevision" - - [table] - tld + + public."RdeRevision" + + [table] + tld + + text not null + mode + + text not null + "date" - text not null - mode + date not null + update_timestamp - text not null - "date" + timestamptz + revision - date not null - update_timestamp - - timestamptz - revision - - int4 not null - + int4 not null + registrarpoc_ab47054d - - public."RegistrarPoc" - - [table] - email_address - - text not null - allowed_to_set_registry_lock_password - - bool not null - fax_number - - text - name - - text - phone_number - - text - registry_lock_password_hash - - text - registry_lock_password_salt - - text - types - - _text - visible_in_domain_whois_as_abuse - - bool not null - visible_in_whois_as_admin - - bool not null - visible_in_whois_as_tech - - bool not null - registry_lock_email_address - - text - registrar_id - - text not null - + + public."RegistrarPoc" + + [table] + email_address + + text not null + allowed_to_set_registry_lock_password + + bool not null + fax_number + + text + name + + text + phone_number + + text + registry_lock_password_hash + + text + registry_lock_password_salt + + text + types + + _text + visible_in_domain_whois_as_abuse + + bool not null + visible_in_whois_as_admin + + bool not null + visible_in_whois_as_tech + + bool not null + registry_lock_email_address + + text + registrar_id + + text not null + id + + bigserial not null + + auto-incremented + registrarpoc_ab47054d:w->registrar_6e1503e3:e - - - - - - - - fk_registrar_poc_registrar_id + + + + + + + + fk_registrar_poc_registrar_id @@ -3514,412 +3519,412 @@ <h2>System Information</h2> <title> registrarupdatehistory_8a38bed4:w->registrar_6e1503e3:e - + - - - - - - fkregistrarupdatehistoryregistrarid + + + + + + fkregistrarupdatehistoryregistrarid registrarpocupdatehistory_31e5d9aa - - public."RegistrarPocUpdateHistory" - - [table] - history_revision_id + + public."RegistrarPocUpdateHistory" + + [table] + history_revision_id + + int8 not null + history_modification_time + + timestamptz not null + history_method - int8 not null - history_modification_time + text not null + history_request_body - timestamptz not null - history_method + text + history_type text not null - history_request_body + history_url - text - history_type + text not null + email_address text not null - history_url + registrar_id text not null - email_address + allowed_to_set_registry_lock_password - text not null - registrar_id + bool not null + fax_number - text not null - allowed_to_set_registry_lock_password + text + login_email_address - bool not null - fax_number + text + name text - login_email_address + phone_number text - name + registry_lock_email_address text - phone_number + registry_lock_password_hash text - registry_lock_email_address + registry_lock_password_salt text - registry_lock_password_hash + types - text - registry_lock_password_salt + _text + visible_in_domain_whois_as_abuse - text - types + bool not null + visible_in_whois_as_admin - _text - visible_in_domain_whois_as_abuse + bool not null + visible_in_whois_as_tech bool not null - visible_in_whois_as_admin + history_acting_user - bool not null - visible_in_whois_as_tech - - bool not null - history_acting_user - - text not null - + text not null + registrarpocupdatehistory_31e5d9aa:w->registrarpoc_ab47054d:e - - - - - - - - fkregistrarpocupdatehistoryemailaddress + + + + + + + + fkregistrarpocupdatehistoryemailaddress registrarpocupdatehistory_31e5d9aa:w->registrarpoc_ab47054d:e - - - - - - - - fkregistrarpocupdatehistoryemailaddress + + + + + + + + fkregistrarpocupdatehistoryemailaddress registrylock_ac88663e - - public."RegistryLock" - - [table] - revision_id + + public."RegistryLock" + + [table] + revision_id + + bigserial not null + + auto-incremented + lock_completion_time - bigserial not null + timestamptz + lock_request_time - auto-incremented - lock_completion_time + timestamptz not null + domain_name - timestamptz - lock_request_time + text not null + is_superuser - timestamptz not null - domain_name + bool not null + registrar_id text not null - is_superuser + registrar_poc_id - bool not null - registrar_id + text + repo_id text not null - registrar_poc_id + verification_code - text - repo_id + text not null + unlock_request_time - text not null - verification_code + timestamptz + unlock_completion_time - text not null - unlock_request_time + timestamptz + last_update_time - timestamptz - unlock_completion_time + timestamptz not null + relock_revision_id - timestamptz - last_update_time + int8 + relock_duration - timestamptz not null - relock_revision_id - - int8 - relock_duration - - interval - + interval + registrylock_ac88663e:w->registrylock_ac88663e:e - - - - - - - - fk2lhcwpxlnqijr96irylrh1707 + + + + + + + + fk2lhcwpxlnqijr96irylrh1707 reservedentry_1a7b8520 - - public."ReservedEntry" - - [table] - revision_id + + public."ReservedEntry" + + [table] + revision_id + + int8 not null + comment + + text + reservation_type - int8 not null - comment + int4 not null + domain_label - text - reservation_type - - int4 not null - domain_label - - text not null - + text not null + reservedlist_b97c3f1c - - public."ReservedList" - - [table] - revision_id + + public."ReservedList" + + [table] + revision_id + + bigserial not null + + auto-incremented + creation_timestamp - bigserial not null + timestamptz not null + name - auto-incremented - creation_timestamp - - timestamptz not null - name - - text not null - + text not null + reservedentry_1a7b8520:w->reservedlist_b97c3f1c:e - - - - - - - - fkgq03rk0bt1hb915dnyvd3vnfc + + + + + + + + fkgq03rk0bt1hb915dnyvd3vnfc serversecret_6cc90f09 - - public."ServerSecret" - - [table] - secret - - uuid not null - id - - int8 not null - + + public."ServerSecret" + + [table] + secret + + uuid not null + id + + int8 not null + signedmarkrevocationentry_99c39721 - - public."SignedMarkRevocationEntry" - - [table] - revision_id + + public."SignedMarkRevocationEntry" + + [table] + revision_id + + int8 not null + revocation_time + + timestamptz not null + smd_id - int8 not null - revocation_time - - timestamptz not null - smd_id - - text not null - + text not null + signedmarkrevocationlist_c5d968fb - - public."SignedMarkRevocationList" - - [table] - revision_id + + public."SignedMarkRevocationList" + + [table] + revision_id + + bigserial not null + + auto-incremented + creation_time - bigserial not null - - auto-incremented - creation_time - - timestamptz - + timestamptz + signedmarkrevocationentry_99c39721:w->signedmarkrevocationlist_c5d968fb:e - - - - - - - - fk5ivlhvs3121yx2li5tqh54u4 + + + + + + + + fk5ivlhvs3121yx2li5tqh54u4 spec11threatmatch_a61228a6 - - public."Spec11ThreatMatch" - - [table] - id + + public."Spec11ThreatMatch" + + [table] + id + + bigserial not null + + auto-incremented + check_date - bigserial not null + date not null + domain_name - auto-incremented - check_date + text not null + domain_repo_id - date not null - domain_name + text not null + registrar_id text not null - domain_repo_id + threat_types - text not null - registrar_id + _text not null + tld text not null - threat_types - - _text not null - tld - - text not null - + tmchcrl_d282355 - - public."TmchCrl" - - [table] - certificate_revocations + + public."TmchCrl" + + [table] + certificate_revocations + + text not null + update_timestamp + + timestamptz not null + url text not null - update_timestamp + id - timestamptz not null - url - - text not null - id - - int8 not null - + int8 not null + userupdatehistory_24efd476 - - public."UserUpdateHistory" - - [table] - history_revision_id + + public."UserUpdateHistory" + + [table] + history_revision_id + + int8 not null + history_modification_time + + timestamptz not null + history_method - int8 not null - history_modification_time + text not null + history_request_body - timestamptz not null - history_method + text + history_type text not null - history_request_body + history_url - text - history_type + text not null + email_address text not null - history_url + registry_lock_password_hash - text not null - email_address + text + registry_lock_password_salt - text not null - registry_lock_password_hash + text + global_role - text - registry_lock_password_salt + text not null + is_admin - text - global_role + bool not null + registrar_roles - text not null - is_admin + hstore + update_timestamp - bool not null - registrar_roles + timestamptz + history_acting_user - hstore - update_timestamp + text not null + registry_lock_email_address - timestamptz - history_acting_user - - text not null - registry_lock_email_address - - text - + text + @@ -4801,7 +4806,7 @@

Tables

- default '2021-05-31 20:00:00-04'::timestamp with time zone + default '2021-06-01 00:00:00+00'::timestamp with time zone @@ -11288,6 +11293,21 @@

Tables

registrar_id text not null + + + id + bigserial not null + + + + + default nextval('"RegistrarPoc_id_seq"'::regclass) + + + + + auto-incremented + diff --git a/db/src/main/resources/sql/flyway.txt b/db/src/main/resources/sql/flyway.txt index 6904f7abb3d..619ee22c187 100644 --- a/db/src/main/resources/sql/flyway.txt +++ b/db/src/main/resources/sql/flyway.txt @@ -192,3 +192,4 @@ V191__remove_fk_registrarpocupdatehistory.sql V192__add_last_poc_verification_date.sql V193__password_reset_request.sql V194__password_reset_request_registrar.sql +V195__registrar_poc_id.sql diff --git a/db/src/main/resources/sql/flyway/V195__registrar_poc_id.sql b/db/src/main/resources/sql/flyway/V195__registrar_poc_id.sql new file mode 100644 index 00000000000..4b9cbf9e4f2 --- /dev/null +++ b/db/src/main/resources/sql/flyway/V195__registrar_poc_id.sql @@ -0,0 +1,15 @@ +-- Copyright 2025 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 "RegistrarPoc" ADD COLUMN IF NOT EXISTS id BIGSERIAL; diff --git a/db/src/main/resources/sql/schema/nomulus.golden.sql b/db/src/main/resources/sql/schema/nomulus.golden.sql index 809413e1519..4209e47dcb2 100644 --- a/db/src/main/resources/sql/schema/nomulus.golden.sql +++ b/db/src/main/resources/sql/schema/nomulus.golden.sql @@ -1020,7 +1020,8 @@ CREATE TABLE public."RegistrarPoc" ( visible_in_whois_as_admin boolean NOT NULL, visible_in_whois_as_tech boolean NOT NULL, registry_lock_email_address text, - registrar_id text NOT NULL + registrar_id text NOT NULL, + id bigint NOT NULL ); @@ -1053,6 +1054,25 @@ CREATE TABLE public."RegistrarPocUpdateHistory" ( ); +-- +-- Name: RegistrarPoc_id_seq; Type: SEQUENCE; Schema: public; Owner: - +-- + +CREATE SEQUENCE public."RegistrarPoc_id_seq" + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +-- +-- Name: RegistrarPoc_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: - +-- + +ALTER SEQUENCE public."RegistrarPoc_id_seq" OWNED BY public."RegistrarPoc".id; + + -- -- Name: RegistrarUpdateHistory; Type: TABLE; Schema: public; Owner: - -- @@ -1445,6 +1465,13 @@ ALTER TABLE ONLY public."PackagePromotion" ALTER COLUMN package_promotion_id SET ALTER TABLE ONLY public."PremiumList" ALTER COLUMN revision_id SET DEFAULT nextval('public."PremiumList_revision_id_seq"'::regclass); +-- +-- Name: RegistrarPoc id; Type: DEFAULT; Schema: public; Owner: - +-- + +ALTER TABLE ONLY public."RegistrarPoc" ALTER COLUMN id SET DEFAULT nextval('public."RegistrarPoc_id_seq"'::regclass); + + -- -- Name: RegistryLock revision_id; Type: DEFAULT; Schema: public; Owner: - --