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 c8857f099..347f73da8 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,19 +261,19 @@ td.section { generated on - 2023-04-21 18:52:34.656577 + 2023-05-08 17:43:31.639457 last flyway file - V143__idn_per_tld.sql + V144__drop_database_migration_state_schedule_table.sql

 

 

- + SchemaCrawler_Diagram - + generated by @@ -284,7 +284,7 @@ td.section { generated on - 2023-04-21 18:52:34.656577 + 2023-05-08 17:43:31.639457 @@ -425,227 +425,227 @@ td.section { billingevent_a57d1815:w->allocationtoken_a08ccbef:e - + - - - - - + + + + + fk_billing_event_allocation_token domainhistory_a54cc226 - - + + public.DomainHistory - - + + [table] - + history_revision_id - + - + int8 not null - + history_registrar_id - + - + text - + history_modification_time - + - + timestamptz not null - + history_type - + - + text not null - + creation_time - + - + timestamptz - + domain_repo_id - + - + text not null - + current_package_token - + - + text - + billingevent_a57d1815:w->domainhistory_a54cc226:e - + - - - - + + + + fk_billing_event_domain_history billingevent_a57d1815:w->domainhistory_a54cc226:e - + - - - - + + + + fk_billing_event_domain_history billingevent_a57d1815:w->domainhistory_a54cc226:e - + - - - - + + + + fk_billing_event_recurrence_history billingevent_a57d1815:w->domainhistory_a54cc226:e - + - - - - - + + + + + fk_billing_event_recurrence_history billingrecurrence_5fa2cb01 - - + + public.BillingRecurrence - - + + [table] - + billing_recurrence_id - + - + int8 not null - + registrar_id - + - + text not null - + domain_history_revision_id - + - + int8 not null - + domain_repo_id - + - + text not null - + event_time - + - + timestamptz not null - + recurrence_end_time - + - + timestamptz - + recurrence_time_of_year - + - + text - + recurrence_last_expansion - + - + timestamptz not null - + billingevent_a57d1815:w->billingrecurrence_5fa2cb01:e - + - - - - - + + + + + fk_billing_event_cancellation_matching_billing_recurrence_id - + registrar_6e1503e3 @@ -991,26 +991,26 @@ td.section { domain_6c51cffa:w->billingrecurrence_5fa2cb01:e - + - - - - + + + + fk_domain_billing_recurrence_id domain_6c51cffa:w->billingrecurrence_5fa2cb01:e - + - - - - + + + + fk_domain_transfer_billing_recurrence_id @@ -1109,53 +1109,53 @@ td.section { domain_6c51cffa:w->contact_8de8cb16:e - - - + + + - + fk_domain_admin_contact domain_6c51cffa:w->contact_8de8cb16:e - - - - - - - - + + + + + + + + fk_domain_billing_contact domain_6c51cffa:w->contact_8de8cb16:e - - - - + + + + - + - + fk_domain_registrant_contact domain_6c51cffa:w->contact_8de8cb16:e - - - + + + - + fk_domain_tech_contact @@ -1187,9 +1187,9 @@ td.section { domain_6c51cffa:w->registrar_6e1503e3:e - - - + + + @@ -1224,7 +1224,7 @@ td.section { fk_domain_transfer_losing_registrar_id - + tld_f1fa57e2 @@ -1246,35 +1246,35 @@ td.section { domain_6c51cffa:w->tld_f1fa57e2:e - - - + + + - + fk_domain_tld domainhistory_a54cc226:w->allocationtoken_a08ccbef:e - - - + + + - + fk_domain_history_current_package_token domainhistory_a54cc226:w->domain_6c51cffa:e - - - + + + @@ -1285,14 +1285,14 @@ td.section { domainhistory_a54cc226:w->registrar_6e1503e3:e - - - - + + + + - - - + + + fk_domain_history_registrar_id @@ -1311,40 +1311,40 @@ td.section { billingcancellation_6eedf614:w->domainhistory_a54cc226:e - + - - - - - + + + + + fk_billing_cancellation_domain_history billingcancellation_6eedf614:w->domainhistory_a54cc226:e - + - - - - - + + + + + fk_billing_cancellation_domain_history billingcancellation_6eedf614:w->billingrecurrence_5fa2cb01:e - - - - - - - - + + + + + + + + fk_billing_cancellation_billing_recurrence_id @@ -1441,65 +1441,65 @@ td.section { graceperiod_cd3b2e8f:w->billingrecurrence_5fa2cb01:e - + - - - - - + + + + + fk_grace_period_billing_recurrence_id graceperiod_cd3b2e8f:w->registrar_6e1503e3:e - + - - - - + + + + fk_grace_period_registrar_id billingrecurrence_5fa2cb01:w->domainhistory_a54cc226:e - - - - - - - - + + + + + + + + fk_billing_recurrence_domain_history billingrecurrence_5fa2cb01:w->domainhistory_a54cc226:e - - - - - - - - + + + + + + + + fk_billing_recurrence_domain_history billingrecurrence_5fa2cb01:w->registrar_6e1503e3:e - - - - - - - + + + + + + + fk_billing_recurrence_registrar_id @@ -1823,52 +1823,52 @@ td.section { pollmessage_614a523e:w->domain_6c51cffa:e - + - - - - - + + + + + fk_poll_message_domain_repo_id pollmessage_614a523e:w->domainhistory_a54cc226:e - + - - - - + + + + fk_poll_message_domain_history pollmessage_614a523e:w->domainhistory_a54cc226:e - + - - - - + + + + fk_poll_message_domain_history pollmessage_614a523e:w->contact_8de8cb16:e - + - - - - + + + + fk_poll_message_contact_repo_id @@ -1899,7 +1899,7 @@ td.section { fk_poll_message_contact_history - + host_f21b78de @@ -1985,18 +1985,18 @@ td.section { pollmessage_614a523e:w->host_f21b78de:e - + - - - - + + + + fk_poll_message_host_repo_id - + hosthistory_56210c2 @@ -2105,9 +2105,9 @@ td.section { pollmessage_614a523e:w->registrar_6e1503e3:e - - - + + + @@ -2156,28 +2156,8 @@ td.section { text not null - - - databasemigrationstateschedule_22edefab - - - public.DatabaseMigrationStateSchedule - - - - [table] - - - id - - - - - int8 not null - - - + delegationsignerdata_e542a872 @@ -2242,48 +2222,48 @@ td.section { fktr24j9v14ph2mfuw2gsmt12kq - + dnsrefreshrequest_4e6affb3 - - + + public.DnsRefreshRequest - - + + [table] - + id - + - + bigserial not null - + - + auto-incremented - + request_time - + - + timestamptz not null - + last_process_time - + - + timestamptz not null - + - + domainhost_1ea127c2 @@ -2313,10 +2293,10 @@ td.section { domainhost_1ea127c2:w->domain_6c51cffa:e - - - - + + + + @@ -2326,14 +2306,14 @@ td.section { domainhost_1ea127c2:w->host_f21b78de:e - - - - - - - - + + + + + + + + fk_domainhost_host_valid @@ -2389,7 +2369,7 @@ td.section { fk_host_last_epp_update_registrar_id - + domaindsdatahistory_995b060d @@ -2427,31 +2407,31 @@ td.section { domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e - + - - - - + + + + fko4ilgyyfnvppbpuivus565i0j domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e - + - - - - + + + + fko4ilgyyfnvppbpuivus565i0j - + domainhistoryhost_9f3f23ee @@ -2489,31 +2469,31 @@ td.section { domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e - + - - - - + + + + fka9woh3hu8gx5x0vly6bai327n domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e - + - - - - + + + + fka9woh3hu8gx5x0vly6bai327n - + domaintransactionrecord_6e77ff61 @@ -2564,26 +2544,26 @@ td.section { domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e - + - - - - + + + + fkcjqe54u72kha71vkibvxhjye7 domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e - + - - - - + + + + fkcjqe54u72kha71vkibvxhjye7 @@ -2601,7 +2581,7 @@ td.section { fk_domain_transaction_record_tld - + graceperiodhistory_40ccc1f1 @@ -2639,48 +2619,48 @@ td.section { graceperiodhistory_40ccc1f1:w->domainhistory_a54cc226:e - + - - - - + + + + fk7w3cx8d55q8bln80e716tr7b8 graceperiodhistory_40ccc1f1:w->domainhistory_a54cc226:e - - - - - - - + + + + + + + fk7w3cx8d55q8bln80e716tr7b8 hosthistory_56210c2:w->host_f21b78de:e - - - - - - - - + + + + + + + + fk_hosthistory_host hosthistory_56210c2:w->registrar_6e1503e3:e - - - + + + @@ -2689,178 +2669,178 @@ td.section { fk_history_registrar_id - + lock_f21d4861 - - + + public.Lock - - + + [table] - + resource_name - + - + text not null - + "scope" - + - + text not null - + - + packagepromotion_56aa33 - - + + public.PackagePromotion - - + + [table] - + package_promotion_id - + - + bigserial not null - + - + auto-incremented - + token - + - + text not null - + - + premiumentry_b0060b91 - - + + public.PremiumEntry - - + + [table] - + revision_id - + - + int8 not null - + domain_label - + - + text not null - + - + premiumlist_7c3ea68b - - + + public.PremiumList - - + + [table] - + revision_id - + - + bigserial not null - + - + auto-incremented - + name - + - + text not null - + premiumentry_b0060b91:w->premiumlist_7c3ea68b:e - - - - - - - - + + + + + + + + fko0gw90lpo1tuee56l0nb6y6g5 - + rderevision_83396864 - - + + public.RdeRevision - - + + [table] - + tld - + - + text not null - + mode - + - + text not null - + "date" - + - + date not null - + - + registrarpoc_ab47054d @@ -2909,345 +2889,345 @@ td.section { fk_registrar_poc_registrar_id - + registrylock_ac88663e - - + + public.RegistryLock - - + + [table] - + revision_id - + - + bigserial not null - + - + auto-incremented - + registrar_id - + - + text not null - + repo_id - + - + text not null - + verification_code - + - + text not null - + relock_revision_id - + - + int8 - + registrylock_ac88663e:w->registrylock_ac88663e:e - - - - - - - - + + + + + + + + fk2lhcwpxlnqijr96irylrh1707 - + reservedentry_1a7b8520 - - + + public.ReservedEntry - - + + [table] - + revision_id - + - + int8 not null - + domain_label - + - + text not null - + - + reservedlist_b97c3f1c - - + + public.ReservedList - - + + [table] - + revision_id - + - + bigserial not null - + - + auto-incremented - + name - + - + text not null - + reservedentry_1a7b8520:w->reservedlist_b97c3f1c:e - - - - - - - - + + + + + + + + fkgq03rk0bt1hb915dnyvd3vnfc - + serversecret_6cc90f09 - - + + public.ServerSecret - - + + [table] - + id - + - + int8 not null - + - + signedmarkrevocationentry_99c39721 - - + + public.SignedMarkRevocationEntry - - + + [table] - + revision_id - + - + int8 not null - + smd_id - + - + text not null - + - + signedmarkrevocationlist_c5d968fb - - + + public.SignedMarkRevocationList - - + + [table] - + revision_id - + - + bigserial not null - + - + auto-incremented - + signedmarkrevocationentry_99c39721:w->signedmarkrevocationlist_c5d968fb:e - - - - - - - - + + + + + + + + fk5ivlhvs3121yx2li5tqh54u4 - + spec11threatmatch_a61228a6 - - + + public.Spec11ThreatMatch - - + + [table] - + id - + - + bigserial not null - + - + auto-incremented - + check_date - + - + date not null - + registrar_id - + - + text not null - + tld - + - + text not null - + - + tmchcrl_d282355 - - + + public.TmchCrl - - + + [table] - + id - + - + int8 not null - + - + user_f2216f01 - - + + public."User" - - + + [table] - + id - + - + bigserial not null - + - + auto-incremented - + email_address - + - + text not null - + gaia_id - + - + text - + @@ -4293,36 +4273,6 @@ td.section {

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
public.DatabaseMigrationStateSchedule [table] -
idint8 not null
Primary Key
DatabaseMigrationStateSchedule_pkey[primary key]
id
-

 

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 2678fab9f..08a29ab65 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,32 +261,32 @@ td.section { - + - +
public.DelegationSignerData [table]
generated on2023-04-21 18:52:32.3039012023-05-08 17:43:29.22066
last flyway fileV143__idn_per_tld.sqlV144__drop_database_migration_state_schedule_table.sql

 

 

- + SchemaCrawler_Diagram - - + + generated by - + SchemaCrawler 16.10.1 - + generated on - - 2023-04-21 18:52:32.303901 + + 2023-05-08 17:43:29.22066 - + allocationtoken_a08ccbef @@ -1122,14 +1122,14 @@ td.section { billingevent_a57d1815:w->domainhistory_a54cc226:e - - - - + + + + - + - + fk_billing_event_domain_history @@ -1161,13 +1161,13 @@ td.section { billingevent_a57d1815:w->domainhistory_a54cc226:e - - - - - - - + + + + + + + fk_billing_event_recurrence_history @@ -1309,395 +1309,395 @@ td.section { fk_billing_event_cancellation_matching_billing_recurrence_id - + registrar_6e1503e3 - - + + public.Registrar - - + + [table] - + registrar_id - + - + text not null - + allowed_tlds - + - + _text - + billing_account_map - + - + "hstore" - + block_premium_names - + - + bool not null - + client_certificate - + - + text - + client_certificate_hash - + - + text - + contacts_require_syncing - + - + bool not null - + creation_time - + - + timestamptz not null - + drive_folder_id - + - + text - + email_address - + - + text - + failover_client_certificate - + - + text - + failover_client_certificate_hash - + - + text - + fax_number - + - + text - + iana_identifier - + - + int8 - + icann_referral_email - + - + text - + i18n_address_city - + - + text - + i18n_address_country_code - + - + text - + i18n_address_state - + - + text - + i18n_address_street_line1 - + - + text - + i18n_address_street_line2 - + - + text - + i18n_address_street_line3 - + - + text - + i18n_address_zip - + - + text - + ip_address_allow_list - + - + _text - + last_certificate_update_time - + - + timestamptz - + last_update_time - + - + timestamptz not null - + localized_address_city - + - + text - + localized_address_country_code - + - + text - + localized_address_state - + - + text - + localized_address_street_line1 - + - + text - + localized_address_street_line2 - + - + text - + localized_address_street_line3 - + - + text - + localized_address_zip - + - + text - + password_hash - + - + text - + phone_number - + - + text - + phone_passcode - + - + text - + po_number - + - + text - + rdap_base_urls - + - + _text - + registrar_name - + - + text not null - + registry_lock_allowed - + - + bool not null - + password_salt - + - + text - + state - + - + text - + type - + - + text not null - + url - + - + text - + whois_server - + - + text - + last_expiring_cert_notification_sent_date - + - + timestamptz - + last_expiring_failover_cert_notification_sent_date - + - + timestamptz - + billingevent_a57d1815:w->registrar_6e1503e3:e - + - - - - + + + + fk_billing_event_registrar_id @@ -2773,10 +2773,10 @@ td.section { domain_6c51cffa:w->contact_8de8cb16:e - + - - + + @@ -2786,27 +2786,27 @@ td.section { domain_6c51cffa:w->contact_8de8cb16:e - - - + + + - + - + fk_domain_billing_contact domain_6c51cffa:w->contact_8de8cb16:e - - - - + + + + - + - + fk_domain_registrant_contact @@ -2825,70 +2825,70 @@ td.section { domain_6c51cffa:w->registrar_6e1503e3:e - + - - - - + + + + fk2jc69qyg2tv9hhnmif6oa1cx1 domain_6c51cffa:w->registrar_6e1503e3:e - + - - - - + + + + fk2u3srsfbei272093m3b3xwj23 domain_6c51cffa:w->registrar_6e1503e3:e - + - - - - - + + + + + fkjc0r9r5y1lfbt4gpbqw4wsuvq domain_6c51cffa:w->registrar_6e1503e3:e - + - - - - + + + + fk_domain_transfer_gaining_registrar_id domain_6c51cffa:w->registrar_6e1503e3:e - + - - - - + + + + fk_domain_transfer_losing_registrar_id - + tld_f1fa57e2 @@ -3285,13 +3285,13 @@ td.section { domainhistory_a54cc226:w->registrar_6e1503e3:e - + - - - - + + + + fk_domain_history_registrar_id @@ -3350,13 +3350,13 @@ td.section { billingcancellation_6eedf614:w->registrar_6e1503e3:e - + - - - - + + + + fk_billing_cancellation_registrar_id @@ -3470,13 +3470,13 @@ td.section { graceperiod_cd3b2e8f:w->registrar_6e1503e3:e - + - - - - + + + + fk_grace_period_registrar_id @@ -3509,13 +3509,13 @@ td.section { billingrecurrence_5fa2cb01:w->registrar_6e1503e3:e - + - - - - + + + + fk_billing_recurrence_registrar_id @@ -3612,66 +3612,66 @@ td.section { contact_8de8cb16:w->registrar_6e1503e3:e - + - - - - - + + + + + fk1sfyj7o7954prbn1exk7lpnoe contact_8de8cb16:w->registrar_6e1503e3:e - + - - - - - + + + + + fk93c185fx7chn68uv7nl6uv2s0 contact_8de8cb16:w->registrar_6e1503e3:e - + - - - - - - + + + + + + fkmb7tdiv85863134w1wogtxrb2 contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - - + + + + + + + + fk_contact_transfer_gaining_registrar_id contact_8de8cb16:w->registrar_6e1503e3:e - + - - - - - + + + + + fk_contact_transfer_losing_registrar_id @@ -4246,13 +4246,13 @@ td.section { contacthistory_d2964f8a:w->registrar_6e1503e3:e - + - - - - + + + + fk_contact_history_registrar_id @@ -4513,14 +4513,14 @@ td.section { pollmessage_614a523e:w->domainhistory_a54cc226:e - - + + - + fk_poll_message_domain_history @@ -4563,7 +4563,7 @@ td.section { fk_poll_message_contact_history - + host_f21b78de @@ -4697,18 +4697,18 @@ td.section { pollmessage_614a523e:w->host_f21b78de:e - + - - - - + + + + fk_poll_message_host_repo_id - + hosthistory_56210c2 @@ -4948,39 +4948,39 @@ td.section { pollmessage_614a523e:w->registrar_6e1503e3:e - + - - - - + + + + fk_poll_message_registrar_id pollmessage_614a523e:w->registrar_6e1503e3:e - + - - - - + + + + fk_poll_message_transfer_response_gaining_registrar_id pollmessage_614a523e:w->registrar_6e1503e3:e - + - - - - + + + + fk_poll_message_transfer_response_losing_registrar_id @@ -5028,36 +5028,8 @@ td.section { timestamptz not null - - - databasemigrationstateschedule_22edefab - - - public.DatabaseMigrationStateSchedule - - - - [table] - - - id - - - - - int8 not null - - - migration_transitions - - - - - "hstore" - - - + delegationsignerdata_e542a872 @@ -5122,72 +5094,72 @@ td.section { fktr24j9v14ph2mfuw2gsmt12kq - + dnsrefreshrequest_4e6affb3 - - + + public.DnsRefreshRequest - - + + [table] - + id - + - + bigserial not null - + - + auto-incremented - + name - + - + text not null - + request_time - + - + timestamptz not null - + tld - + - + text not null - + type - + - + text not null - + last_process_time - + - + timestamptz not null - + - + domainhost_1ea127c2 @@ -5217,27 +5189,27 @@ td.section { domainhost_1ea127c2:w->domain_6c51cffa:e - - - - - - - - + + + + + + + + fkfmi7bdink53swivs390m2btxg domainhost_1ea127c2:w->host_f21b78de:e - - - - - - - - + + + + + + + + fk_domainhost_host_valid @@ -5256,44 +5228,44 @@ td.section { host_f21b78de:w->registrar_6e1503e3:e - + - - - - + + + + fk_host_creation_registrar_id host_f21b78de:w->registrar_6e1503e3:e - + - - - - - + + + + + fk_host_current_sponsor_registrar_id host_f21b78de:w->registrar_6e1503e3:e - + - - - - + + + + fk_host_last_epp_update_registrar_id - + domaindsdatahistory_995b060d @@ -5387,7 +5359,7 @@ td.section { fko4ilgyyfnvppbpuivus565i0j - + domainhistoryhost_9f3f23ee @@ -5449,7 +5421,7 @@ td.section { fka9woh3hu8gx5x0vly6bai327n - + domaintransactionrecord_6e77ff61 @@ -5524,14 +5496,14 @@ td.section { domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e - - + + - + fkcjqe54u72kha71vkibvxhjye7 @@ -5561,7 +5533,7 @@ td.section { fk_domain_transaction_record_tld - + graceperiodhistory_40ccc1f1 @@ -5673,314 +5645,314 @@ td.section { hosthistory_56210c2:w->host_f21b78de:e - - - - - - - - + + + + + + + + fk_hosthistory_host hosthistory_56210c2:w->registrar_6e1503e3:e - + - - - - + + + + fk_history_registrar_id - + lock_f21d4861 - - + + public.Lock - - + + [table] - + resource_name - + - + text not null - + "scope" - + - + text not null - + acquired_time - + - + timestamptz not null - + expiration_time - + - + timestamptz not null - + - + packagepromotion_56aa33 - - + + public.PackagePromotion - - + + [table] - + package_promotion_id - + - + bigserial not null - + - + auto-incremented - + last_notification_sent - + - + timestamptz - + max_creates - + - + int4 not null - + max_domains - + - + int4 not null - + next_billing_date - + - + timestamptz not null - + package_price_amount - + - + numeric(19, 2) not null - + package_price_currency - + - + text not null - + token - + - + text not null - + - + premiumentry_b0060b91 - - + + public.PremiumEntry - - + + [table] - + revision_id - + - + int8 not null - + price - + - + numeric(19, 2) not null - + domain_label - + - + text not null - + - + premiumlist_7c3ea68b - - + + public.PremiumList - - + + [table] - + revision_id - + - + bigserial not null - + - + auto-incremented - + creation_timestamp - + - + timestamptz - + name - + - + text not null - + bloom_filter - + - + bytea not null - + currency - + - + text not null - + premiumentry_b0060b91:w->premiumlist_7c3ea68b:e - - - - - - - - + + + + + + + + fko0gw90lpo1tuee56l0nb6y6g5 - + rderevision_83396864 - - + + public.RdeRevision - - + + [table] - + tld - + - + text not null - + mode - + - + text not null - + "date" - + - + date not null - + update_timestamp - + - + timestamptz - + revision - + - + int4 not null - + - + registrarpoc_ab47054d @@ -6106,580 +6078,580 @@ td.section { registrarpoc_ab47054d:w->registrar_6e1503e3:e - + - - - - + + + + fk_registrar_poc_registrar_id - + registrylock_ac88663e - - + + public.RegistryLock - - + + [table] - + revision_id - + - + bigserial not null - + - + auto-incremented - + lock_completion_time - + - + timestamptz - + lock_request_time - + - + timestamptz not null - + domain_name - + - + text not null - + is_superuser - + - + bool not null - + registrar_id - + - + text not null - + registrar_poc_id - + - + text - + repo_id - + - + text not null - + verification_code - + - + text not null - + unlock_request_time - + - + timestamptz - + unlock_completion_time - + - + timestamptz - + last_update_time - + - + timestamptz not null - + relock_revision_id - + - + int8 - + relock_duration - + - + interval - + registrylock_ac88663e:w->registrylock_ac88663e:e - - - - - - - - + + + + + + + + fk2lhcwpxlnqijr96irylrh1707 - + reservedentry_1a7b8520 - - + + public.ReservedEntry - - + + [table] - + revision_id - + - + int8 not null - + comment - + - + text - + reservation_type - + - + int4 not null - + domain_label - + - + text not null - + - + reservedlist_b97c3f1c - - + + public.ReservedList - - + + [table] - + revision_id - + - + bigserial not null - + - + auto-incremented - + creation_timestamp - + - + timestamptz not null - + name - + - + text not null - + should_publish - + - + bool not null - + reservedentry_1a7b8520:w->reservedlist_b97c3f1c:e - - - - - - - - + + + + + + + + fkgq03rk0bt1hb915dnyvd3vnfc - + serversecret_6cc90f09 - - + + public.ServerSecret - - + + [table] - + secret - + - + uuid not null - + id - + - + int8 not null - + - + signedmarkrevocationentry_99c39721 - - + + public.SignedMarkRevocationEntry - - + + [table] - + revision_id - + - + int8 not null - + revocation_time - + - + timestamptz not null - + smd_id - + - + text not null - + - + signedmarkrevocationlist_c5d968fb - - + + public.SignedMarkRevocationList - - + + [table] - + revision_id - + - + bigserial not null - + - + auto-incremented - + creation_time - + - + timestamptz - + signedmarkrevocationentry_99c39721:w->signedmarkrevocationlist_c5d968fb:e - - - - - - - - + + + + + + + + fk5ivlhvs3121yx2li5tqh54u4 - + spec11threatmatch_a61228a6 - - + + public.Spec11ThreatMatch - - + + [table] - + id - + - + bigserial not null - + - + auto-incremented - + check_date - + - + date not null - + domain_name - + - + text not null - + domain_repo_id - + - + text not null - + registrar_id - + - + text not null - + threat_types - + - + _text not null - + tld - + - + text not null - + - + tmchcrl_d282355 - - + + public.TmchCrl - - + + [table] - + certificate_revocations - + - + text not null - + update_timestamp - + - + timestamptz not null - + url - + - + text not null - + id - + - + int8 not null - + - + user_f2216f01 - - + + public."User" - - + + [table] - + id - + - + bigserial not null - + - + auto-incremented - + email_address - + - + text not null - + gaia_id - + - + text - + registry_lock_password_hash - + - + text - + registry_lock_password_salt - + - + text - + global_role - + - + text not null - + is_admin - + - + bool not null - + registrar_roles - + - + "hstore" not null - + update_timestamp - + - + timestamptz - + @@ -8984,71 +8956,6 @@ td.section {

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public.DatabaseMigrationStateSchedule [table] -
idint8 not null
migration_transitions"hstore"
Primary Key
DatabaseMigrationStateSchedule_pkey[primary key]
id
Indexes
DatabaseMigrationStateSchedule_pkey[unique index]
idascending
database_migration_state_schedule_singleton[unique index]
"(true)"ascending
-

 

diff --git a/db/src/main/resources/sql/flyway.txt b/db/src/main/resources/sql/flyway.txt index 1dc55efb1..e842290eb 100644 --- a/db/src/main/resources/sql/flyway.txt +++ b/db/src/main/resources/sql/flyway.txt @@ -141,3 +141,4 @@ V140__rename_process_time_column_in_dns_refresh_request_table.sql V141__add_ttl_columns_to_tld.sql V142__drop_request_log_id.sql V143__idn_per_tld.sql +V144__drop_database_migration_state_schedule_table.sql diff --git a/db/src/main/resources/sql/flyway/V144__drop_database_migration_state_schedule_table.sql b/db/src/main/resources/sql/flyway/V144__drop_database_migration_state_schedule_table.sql new file mode 100644 index 000000000..6e2a156bd --- /dev/null +++ b/db/src/main/resources/sql/flyway/V144__drop_database_migration_state_schedule_table.sql @@ -0,0 +1,15 @@ +-- Copyright 2023 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. + +DROP TABLE "DatabaseMigrationStateSchedule"; diff --git a/db/src/main/resources/sql/schema/nomulus.golden.sql b/db/src/main/resources/sql/schema/nomulus.golden.sql index cd503ca50..e116dc77a 100644 --- a/db/src/main/resources/sql/schema/nomulus.golden.sql +++ b/db/src/main/resources/sql/schema/nomulus.golden.sql @@ -318,16 +318,6 @@ CREATE TABLE public."Cursor" ( ); --- --- Name: DatabaseMigrationStateSchedule; Type: TABLE; Schema: public; Owner: - --- - -CREATE TABLE public."DatabaseMigrationStateSchedule" ( - id bigint NOT NULL, - migration_transitions public.hstore -); - - -- -- Name: DelegationSignerData; Type: TABLE; Schema: public; Owner: - -- @@ -1301,14 +1291,6 @@ ALTER TABLE ONLY public."Cursor" ADD CONSTRAINT "Cursor_pkey" PRIMARY KEY (scope, type); --- --- Name: DatabaseMigrationStateSchedule DatabaseMigrationStateSchedule_pkey; Type: CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public."DatabaseMigrationStateSchedule" - ADD CONSTRAINT "DatabaseMigrationStateSchedule_pkey" PRIMARY KEY (id); - - -- -- Name: DelegationSignerData DelegationSignerData_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -1572,13 +1554,6 @@ ALTER TABLE ONLY public."User" CREATE INDEX allocation_token_domain_name_idx ON public."AllocationToken" USING btree (domain_name); --- --- Name: database_migration_state_schedule_singleton; Type: INDEX; Schema: public; Owner: - --- - -CREATE UNIQUE INDEX database_migration_state_schedule_singleton ON public."DatabaseMigrationStateSchedule" USING btree ((true)); - - -- -- Name: domain_history_to_ds_data_history_idx; Type: INDEX; Schema: public; Owner: - --
public.DelegationSignerData [table]