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 ff246fa1a..b1a1ab778 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,32 +261,32 @@ td.section {
generated on
- 2022-07-06 18:25:44.018541
+ 2022-07-14 14:33:57.74529
last flyway file
- V119__token_registration_behavior.sql
+ V120__remove_ofy_key_fields.sql
-
- SchemaCrawler_Diagram
-
-
+
+ SchemaCrawler_Diagram
+
+
generated by
-
-
+
+
SchemaCrawler 16.10.1
-
-
+
+
generated on
-
-
- 2022-07-06 18:25:44.018541
-
-
+
+
+ 2022-07-14 14:33:57.74529
+
+
allocationtoken_a08ccbef
@@ -329,8 +329,8 @@ td.section {
text
-
-
+
+
billingevent_a57d1815
@@ -421,8 +421,8 @@ td.section {
int8
-
-
+
+
billingevent_a57d1815:w->allocationtoken_a08ccbef:e
@@ -434,8 +434,8 @@ td.section {
fk_billing_event_allocation_token
-
-
+
+
billingrecurrence_5fa2cb01
@@ -510,8 +510,8 @@ td.section {
timestamptz not null
-
-
+
+
billingevent_a57d1815:w->billingrecurrence_5fa2cb01:e
@@ -523,8 +523,8 @@ td.section {
fk_billing_event_cancellation_matching_billing_recurrence_id
-
-
+
+
domainhistory_a54cc226
@@ -583,8 +583,8 @@ td.section {
text not null
-
-
+
+
billingevent_a57d1815:w->domainhistory_a54cc226:e
@@ -596,8 +596,8 @@ td.section {
fk_billing_event_domain_history
-
-
+
+
billingevent_a57d1815:w->domainhistory_a54cc226:e
@@ -609,8 +609,8 @@ td.section {
fk_billing_event_domain_history
-
-
+
+
billingevent_a57d1815:w->domainhistory_a54cc226:e
@@ -622,8 +622,8 @@ td.section {
fk_billing_event_recurrence_history
-
-
+
+
billingevent_a57d1815:w->domainhistory_a54cc226:e
@@ -635,8 +635,8 @@ td.section {
fk_billing_event_recurrence_history
-
-
+
+
registrar_6e1503e3
@@ -671,8 +671,8 @@ td.section {
text not null
-
-
+
+
billingevent_a57d1815:w->registrar_6e1503e3:e
@@ -684,8 +684,8 @@ td.section {
fk_billing_event_registrar_id
-
-
+
+
billingcancellation_6eedf614
@@ -760,8 +760,8 @@ td.section {
int8
-
-
+
+
billingcancellation_6eedf614:w->billingevent_a57d1815:e
@@ -773,8 +773,8 @@ td.section {
fk_billing_cancellation_billing_event_id
-
-
+
+
billingcancellation_6eedf614:w->billingrecurrence_5fa2cb01:e
@@ -786,8 +786,8 @@ td.section {
fk_billing_cancellation_billing_recurrence_id
-
-
+
+
billingcancellation_6eedf614:w->domainhistory_a54cc226:e
@@ -799,8 +799,8 @@ td.section {
fk_billing_cancellation_domain_history
-
-
+
+
billingcancellation_6eedf614:w->domainhistory_a54cc226:e
@@ -812,8 +812,8 @@ td.section {
fk_billing_cancellation_domain_history
-
-
+
+
billingcancellation_6eedf614:w->registrar_6e1503e3:e
@@ -825,8 +825,8 @@ td.section {
fk_billing_cancellation_registrar_id
-
-
+
+
domain_6c51cffa
@@ -997,8 +997,8 @@ td.section {
timestamptz
-
-
+
+
domain_6c51cffa:w->billingevent_a57d1815:e
@@ -1010,8 +1010,8 @@ td.section {
fk_domain_transfer_billing_event_id
-
-
+
+
domain_6c51cffa:w->billingcancellation_6eedf614:e
@@ -1023,8 +1023,8 @@ td.section {
fk_domain_transfer_billing_cancellation_id
-
-
+
+
domain_6c51cffa:w->billingrecurrence_5fa2cb01:e
@@ -1036,8 +1036,8 @@ td.section {
fk_domain_billing_recurrence_id
-
-
+
+
domain_6c51cffa:w->billingrecurrence_5fa2cb01:e
@@ -1049,8 +1049,8 @@ td.section {
fk_domain_transfer_billing_recurrence_id
-
-
+
+
contact_8de8cb16
@@ -1141,8 +1141,8 @@ td.section {
text
-
-
+
+
domain_6c51cffa:w->contact_8de8cb16:e
@@ -1154,8 +1154,8 @@ td.section {
fk_domain_admin_contact
-
-
+
+
domain_6c51cffa:w->contact_8de8cb16:e
@@ -1167,8 +1167,8 @@ td.section {
fk_domain_billing_contact
-
-
+
+
domain_6c51cffa:w->contact_8de8cb16:e
@@ -1180,8 +1180,8 @@ td.section {
fk_domain_registrant_contact
-
-
+
+
domain_6c51cffa:w->contact_8de8cb16:e
@@ -1193,8 +1193,8 @@ td.section {
fk_domain_tech_contact
-
-
+
+
domain_6c51cffa:w->registrar_6e1503e3:e
@@ -1206,8 +1206,8 @@ td.section {
fk2jc69qyg2tv9hhnmif6oa1cx1
-
-
+
+
domain_6c51cffa:w->registrar_6e1503e3:e
@@ -1219,8 +1219,8 @@ td.section {
fk2u3srsfbei272093m3b3xwj23
-
-
+
+
domain_6c51cffa:w->registrar_6e1503e3:e
@@ -1232,8 +1232,8 @@ td.section {
fkjc0r9r5y1lfbt4gpbqw4wsuvq
-
-
+
+
domain_6c51cffa:w->registrar_6e1503e3:e
@@ -1245,8 +1245,8 @@ td.section {
fk_domain_transfer_gaining_registrar_id
-
-
+
+
domain_6c51cffa:w->registrar_6e1503e3:e
@@ -1258,8 +1258,8 @@ td.section {
fk_domain_transfer_losing_registrar_id
-
-
+
+
tld_f1fa57e2
@@ -1278,8 +1278,8 @@ td.section {
text not null
-
-
+
+
domain_6c51cffa:w->tld_f1fa57e2:e
@@ -1291,8 +1291,8 @@ td.section {
fk_domain_tld
-
-
+
+
graceperiod_cd3b2e8f
@@ -1343,8 +1343,8 @@ td.section {
text not null
-
-
+
+
graceperiod_cd3b2e8f:w->billingevent_a57d1815:e
@@ -1356,8 +1356,8 @@ td.section {
fk_grace_period_billing_event_id
-
-
+
+
graceperiod_cd3b2e8f:w->domain_6c51cffa:e
@@ -1369,8 +1369,8 @@ td.section {
fk_grace_period_domain_repo_id
-
-
+
+
graceperiod_cd3b2e8f:w->billingrecurrence_5fa2cb01:e
@@ -1382,8 +1382,8 @@ td.section {
fk_grace_period_billing_recurrence_id
-
-
+
+
graceperiod_cd3b2e8f:w->registrar_6e1503e3:e
@@ -1395,8 +1395,8 @@ td.section {
fk_grace_period_registrar_id
-
-
+
+
billingrecurrence_5fa2cb01:w->domainhistory_a54cc226:e
@@ -1408,8 +1408,8 @@ td.section {
fk_billing_recurrence_domain_history
-
-
+
+
billingrecurrence_5fa2cb01:w->domainhistory_a54cc226:e
@@ -1421,8 +1421,8 @@ td.section {
fk_billing_recurrence_domain_history
-
-
+
+
billingrecurrence_5fa2cb01:w->registrar_6e1503e3:e
@@ -1434,8 +1434,8 @@ td.section {
fk_billing_recurrence_registrar_id
-
-
+
+
claimsentry_105da9f1
@@ -1462,8 +1462,8 @@ td.section {
text not null
-
-
+
+
claimslist_3d49bc2b
@@ -1487,8 +1487,8 @@ td.section {
auto-incremented
-
-
+
+
claimsentry_105da9f1:w->claimslist_3d49bc2b:e
@@ -1500,8 +1500,8 @@ td.section {
fk6sc6at5hedffc0nhdcab6ivuq
-
-
+
+
contact_8de8cb16:w->registrar_6e1503e3:e
@@ -1513,8 +1513,8 @@ td.section {
fk1sfyj7o7954prbn1exk7lpnoe
-
-
+
+
contact_8de8cb16:w->registrar_6e1503e3:e
@@ -1526,8 +1526,8 @@ td.section {
fk93c185fx7chn68uv7nl6uv2s0
-
-
+
+
contact_8de8cb16:w->registrar_6e1503e3:e
@@ -1539,8 +1539,8 @@ td.section {
fkmb7tdiv85863134w1wogtxrb2
-
-
+
+
contact_8de8cb16:w->registrar_6e1503e3:e
@@ -1552,8 +1552,8 @@ td.section {
fk_contact_transfer_gaining_registrar_id
-
-
+
+
contact_8de8cb16:w->registrar_6e1503e3:e
@@ -1565,8 +1565,8 @@ td.section {
fk_contact_transfer_losing_registrar_id
-
-
+
+
contacthistory_d2964f8a
@@ -1625,8 +1625,8 @@ td.section {
text not null
-
-
+
+
contacthistory_d2964f8a:w->contact_8de8cb16:e
@@ -1638,8 +1638,8 @@ td.section {
fk_contact_history_contact_repo_id
-
-
+
+
contacthistory_d2964f8a:w->registrar_6e1503e3:e
@@ -1651,8 +1651,8 @@ td.section {
fk_contact_history_registrar_id
-
-
+
+
pollmessage_614a523e
@@ -1751,8 +1751,8 @@ td.section {
text
-
-
+
+
pollmessage_614a523e:w->domain_6c51cffa:e
@@ -1764,8 +1764,8 @@ td.section {
fk_poll_message_domain_repo_id
-
-
+
+
pollmessage_614a523e:w->contact_8de8cb16:e
@@ -1777,8 +1777,8 @@ td.section {
fk_poll_message_contact_repo_id
-
-
+
+
pollmessage_614a523e:w->contacthistory_d2964f8a:e
@@ -1790,8 +1790,8 @@ td.section {
fk_poll_message_contact_history
-
-
+
+
pollmessage_614a523e:w->contacthistory_d2964f8a:e
@@ -1803,8 +1803,8 @@ td.section {
fk_poll_message_contact_history
-
-
+
+
pollmessage_614a523e:w->domainhistory_a54cc226:e
@@ -1816,8 +1816,8 @@ td.section {
fk_poll_message_domain_history
-
-
+
+
pollmessage_614a523e:w->domainhistory_a54cc226:e
@@ -1829,8 +1829,8 @@ td.section {
fk_poll_message_domain_history
-
-
+
+
host_f21b78de
@@ -1913,8 +1913,8 @@ td.section {
_text
-
-
+
+
pollmessage_614a523e:w->host_f21b78de:e
@@ -1926,8 +1926,8 @@ td.section {
fk_poll_message_host_repo_id
-
-
+
+
hosthistory_56210c2
@@ -1994,8 +1994,8 @@ td.section {
text not null
-
-
+
+
pollmessage_614a523e:w->hosthistory_56210c2:e
@@ -2007,8 +2007,8 @@ td.section {
fk_poll_message_host_history
-
-
+
+
pollmessage_614a523e:w->hosthistory_56210c2:e
@@ -2020,8 +2020,8 @@ td.section {
fk_poll_message_host_history
-
-
+
+
pollmessage_614a523e:w->registrar_6e1503e3:e
@@ -2033,8 +2033,8 @@ td.section {
fk_poll_message_registrar_id
-
-
+
+
pollmessage_614a523e:w->registrar_6e1503e3:e
@@ -2046,8 +2046,8 @@ td.section {
fk_poll_message_transfer_response_gaining_registrar_id
-
-
+
+
pollmessage_614a523e:w->registrar_6e1503e3:e
@@ -2059,8 +2059,8 @@ td.section {
fk_poll_message_transfer_response_losing_registrar_id
-
-
+
+
cursor_6af40e8c
@@ -2087,8 +2087,8 @@ td.section {
text not null
-
-
+
+
databasemigrationstateschedule_22edefab
@@ -2107,8 +2107,8 @@ td.section {
int8 not null
-
-
+
+
delegationsignerdata_e542a872
@@ -2159,8 +2159,8 @@ td.section {
int4 not null
-
-
+
+
delegationsignerdata_e542a872:w->domain_6c51cffa:e
@@ -2172,8 +2172,8 @@ td.section {
fktr24j9v14ph2mfuw2gsmt12kq
-
-
+
+
domainhistory_a54cc226:w->domain_6c51cffa:e
@@ -2185,8 +2185,8 @@ td.section {
fk_domain_history_domain_repo_id
-
-
+
+
domainhistory_a54cc226:w->registrar_6e1503e3:e
@@ -2198,8 +2198,8 @@ td.section {
fk_domain_history_registrar_id
-
-
+
+
domainhost_1ea127c2
@@ -2226,8 +2226,8 @@ td.section {
text
-
-
+
+
domainhost_1ea127c2:w->domain_6c51cffa:e
@@ -2239,8 +2239,8 @@ td.section {
fkfmi7bdink53swivs390m2btxg
-
-
+
+
domainhost_1ea127c2:w->host_f21b78de:e
@@ -2252,8 +2252,8 @@ td.section {
fk_domainhost_host_valid
-
-
+
+
host_f21b78de:w->domain_6c51cffa:e
@@ -2265,8 +2265,8 @@ td.section {
fk_host_superordinate_domain
-
-
+
+
host_f21b78de:w->registrar_6e1503e3:e
@@ -2278,8 +2278,8 @@ td.section {
fk_host_creation_registrar_id
-
-
+
+
host_f21b78de:w->registrar_6e1503e3:e
@@ -2291,8 +2291,8 @@ td.section {
fk_host_current_sponsor_registrar_id
-
-
+
+
host_f21b78de:w->registrar_6e1503e3:e
@@ -2304,8 +2304,8 @@ td.section {
fk_host_last_epp_update_registrar_id
-
-
+
+
domaindsdatahistory_995b060d
@@ -2340,8 +2340,8 @@ td.section {
text
-
-
+
+
domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e
@@ -2353,8 +2353,8 @@ td.section {
fko4ilgyyfnvppbpuivus565i0j
-
-
+
+
domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e
@@ -2366,8 +2366,8 @@ td.section {
fko4ilgyyfnvppbpuivus565i0j
-
-
+
+
domainhistoryhost_9f3f23ee
@@ -2402,8 +2402,8 @@ td.section {
text not null
-
-
+
+
domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e
@@ -2415,8 +2415,8 @@ td.section {
fka9woh3hu8gx5x0vly6bai327n
-
-
+
+
domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e
@@ -2428,8 +2428,8 @@ td.section {
fka9woh3hu8gx5x0vly6bai327n
-
-
+
+
domaintransactionrecord_6e77ff61
@@ -2477,8 +2477,8 @@ td.section {
int8
-
-
+
+
domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e
@@ -2490,8 +2490,8 @@ td.section {
fkcjqe54u72kha71vkibvxhjye7
-
-
+
+
domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e
@@ -2503,8 +2503,8 @@ td.section {
fkcjqe54u72kha71vkibvxhjye7
-
-
+
+
domaintransactionrecord_6e77ff61:w->tld_f1fa57e2:e
@@ -2516,8 +2516,8 @@ td.section {
fk_domain_transaction_record_tld
-
-
+
+
graceperiodhistory_40ccc1f1
@@ -2552,8 +2552,8 @@ td.section {
int8
-
-
+
+
graceperiodhistory_40ccc1f1:w->domainhistory_a54cc226:e
@@ -2565,8 +2565,8 @@ td.section {
fk7w3cx8d55q8bln80e716tr7b8
-
-
+
+
graceperiodhistory_40ccc1f1:w->domainhistory_a54cc226:e
@@ -2578,8 +2578,8 @@ td.section {
fk7w3cx8d55q8bln80e716tr7b8
-
-
+
+
hosthistory_56210c2:w->host_f21b78de:e
@@ -2591,8 +2591,8 @@ td.section {
fk_hosthistory_host
-
-
+
+
hosthistory_56210c2:w->registrar_6e1503e3:e
@@ -2604,8 +2604,8 @@ td.section {
fk_history_registrar_id
-
-
+
+
lock_f21d4861
@@ -2632,8 +2632,8 @@ td.section {
text not null
-
-
+
+
premiumentry_b0060b91
@@ -2660,8 +2660,8 @@ td.section {
text not null
-
-
+
+
premiumlist_7c3ea68b
@@ -2693,8 +2693,8 @@ td.section {
text not null
-
-
+
+
premiumentry_b0060b91:w->premiumlist_7c3ea68b:e
@@ -2706,8 +2706,8 @@ td.section {
fko0gw90lpo1tuee56l0nb6y6g5
-
-
+
+
rderevision_83396864
@@ -2742,8 +2742,8 @@ td.section {
date not null
-
-
+
+
registrarpoc_ab47054d
@@ -2778,8 +2778,8 @@ td.section {
text not null
-
-
+
+
registrarpoc_ab47054d:w->registrar_6e1503e3:e
@@ -2791,8 +2791,8 @@ td.section {
fk_registrar_poc_registrar_id
-
-
+
+
registrylock_ac88663e
@@ -2848,8 +2848,8 @@ td.section {
int8
-
-
+
+
registrylock_ac88663e:w->registrylock_ac88663e:e
@@ -2861,8 +2861,8 @@ td.section {
fk2lhcwpxlnqijr96irylrh1707
-
-
+
+
reservedentry_1a7b8520
@@ -2889,8 +2889,8 @@ td.section {
text not null
-
-
+
+
reservedlist_b97c3f1c
@@ -2922,8 +2922,8 @@ td.section {
text not null
-
-
+
+
reservedentry_1a7b8520:w->reservedlist_b97c3f1c:e
@@ -2935,8 +2935,8 @@ td.section {
fkgq03rk0bt1hb915dnyvd3vnfc
-
-
+
+
serversecret_6cc90f09
@@ -2955,8 +2955,8 @@ td.section {
int8 not null
-
-
+
+
signedmarkrevocationentry_99c39721
@@ -2983,8 +2983,8 @@ td.section {
text not null
-
-
+
+
signedmarkrevocationlist_c5d968fb
@@ -3008,8 +3008,8 @@ td.section {
auto-incremented
-
-
+
+
signedmarkrevocationentry_99c39721:w->signedmarkrevocationlist_c5d968fb:e
@@ -3021,8 +3021,8 @@ td.section {
fk5ivlhvs3121yx2li5tqh54u4
-
-
+
+
spec11threatmatch_a61228a6
@@ -3070,8 +3070,8 @@ td.section {
text not null
-
-
+
+
sqlreplaycheckpoint_342081b3
@@ -3090,8 +3090,8 @@ td.section {
int8 not null
-
-
+
+
tmchcrl_d282355
@@ -3110,8 +3110,8 @@ td.section {
int8 not null
-
-
+
+
transaction_d50389d4
@@ -3135,13 +3135,13 @@ td.section {
auto-incremented
-
+
Tables
- public.AllocationToken [table]
+ public.AllocationToken [table]
@@ -3204,7 +3204,7 @@ td.section {
- public.BillingCancellation [table]
+ public.BillingCancellation [table]
@@ -3340,7 +3340,7 @@ td.section {
- public.BillingEvent [table]
+ public.BillingEvent [table]
@@ -3527,7 +3527,7 @@ td.section {
- public.BillingRecurrence [table]
+ public.BillingRecurrence [table]
@@ -3687,7 +3687,7 @@ td.section {
- public.ClaimsEntry [table]
+ public.ClaimsEntry [table]
@@ -3745,7 +3745,7 @@ td.section {
- public.ClaimsList [table]
+ public.ClaimsList [table]
@@ -3798,7 +3798,7 @@ td.section {
- public.Contact [table]
+ public.Contact [table]
@@ -4011,7 +4011,7 @@ td.section {
- public.ContactHistory [table]
+ public.ContactHistory [table]
@@ -4118,7 +4118,7 @@ td.section {
- public."Cursor" [table]
+ public."Cursor" [table]
@@ -4158,7 +4158,7 @@ td.section {
- public.DatabaseMigrationStateSchedule [table]
+ public.DatabaseMigrationStateSchedule [table]
@@ -4188,7 +4188,7 @@ td.section {
- public.DelegationSignerData [table]
+ public.DelegationSignerData [table]
@@ -4276,7 +4276,7 @@ td.section {
- public.Domain [table]
+ public.Domain [table]
@@ -4647,7 +4647,7 @@ td.section {
- public.DomainDsDataHistory [table]
+ public.DomainDsDataHistory [table]
@@ -4710,7 +4710,7 @@ td.section {
- public.DomainHistory [table]
+ public.DomainHistory [table]
@@ -4953,7 +4953,7 @@ td.section {
- public.DomainHistoryHost [table]
+ public.DomainHistoryHost [table]
@@ -4998,7 +4998,7 @@ td.section {
- public.DomainHost [table]
+ public.DomainHost [table]
@@ -5045,7 +5045,7 @@ td.section {
- public.DomainTransactionRecord [table]
+ public.DomainTransactionRecord [table]
@@ -5130,7 +5130,7 @@ td.section {
- public.GracePeriod [table]
+ public.GracePeriod [table]
@@ -5234,7 +5234,7 @@ td.section {
- public.GracePeriodHistory [table]
+ public.GracePeriodHistory [table]
@@ -5297,7 +5297,7 @@ td.section {
- public.Host [table]
+ public.Host [table]
@@ -5457,7 +5457,7 @@ td.section {
- public.HostHistory [table]
+ public.HostHistory [table]
@@ -5569,7 +5569,7 @@ td.section {
- public.Lock [table]
+ public.Lock [table]
@@ -5609,7 +5609,7 @@ td.section {
- public.PollMessage [table]
+ public.PollMessage [table]
@@ -5818,7 +5818,7 @@ td.section {
- public.PremiumEntry [table]
+ public.PremiumEntry [table]
@@ -5876,7 +5876,7 @@ td.section {
- public.PremiumList [table]
+ public.PremiumList [table]
@@ -5934,7 +5934,7 @@ td.section {
- public.RdeRevision [table]
+ public.RdeRevision [table]
@@ -5984,7 +5984,7 @@ td.section {
- public.Registrar [table]
+ public.Registrar [table]
@@ -6318,7 +6318,7 @@ td.section {
- public.RegistrarPoc [table]
+ public.RegistrarPoc [table]
@@ -6381,7 +6381,7 @@ td.section {
- public.RegistryLock [table]
+ public.RegistryLock [table]
@@ -6454,7 +6454,7 @@ td.section {
- public.ReservedEntry [table]
+ public.ReservedEntry [table]
@@ -6512,7 +6512,7 @@ td.section {
- public.ReservedList [table]
+ public.ReservedList [table]
@@ -6570,7 +6570,7 @@ td.section {
- public.ServerSecret [table]
+ public.ServerSecret [table]
@@ -6600,7 +6600,7 @@ td.section {
- public.SignedMarkRevocationEntry [table]
+ public.SignedMarkRevocationEntry [table]
@@ -6658,7 +6658,7 @@ td.section {
- public.SignedMarkRevocationList [table]
+ public.SignedMarkRevocationList [table]
@@ -6711,7 +6711,7 @@ td.section {
- public.Spec11ThreatMatch [table]
+ public.Spec11ThreatMatch [table]
@@ -6761,7 +6761,7 @@ td.section {
- public.SqlReplayCheckpoint [table]
+ public.SqlReplayCheckpoint [table]
@@ -6791,7 +6791,7 @@ td.section {
- public.Tld [table]
+ public.Tld [table]
@@ -6851,7 +6851,7 @@ td.section {
- public.TmchCrl [table]
+ public.TmchCrl [table]
@@ -6881,7 +6881,7 @@ td.section {
- public.Transaction [table]
+ public.Transaction [table]
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 9da9e1adc..546525d72 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 {
generated on
- 2022-07-06 18:25:39.145212
+ 2022-07-14 14:33:54.410486
last flyway file
- V119__token_registration_behavior.sql
+ V120__remove_ofy_key_fields.sql
-
- SchemaCrawler_Diagram
-
+
+ SchemaCrawler_Diagram
+
generated by
-
+
SchemaCrawler 16.10.1
-
+
generated on
-
+
- 2022-07-06 18:25:39.145212
-
-
+ 2022-07-14 14:33:54.410486
+
+
allocationtoken_a08ccbef
@@ -417,8 +417,8 @@ td.section {
text not null
-
-
+
+
billingevent_a57d1815
@@ -557,8 +557,8 @@ td.section {
int8
-
-
+
+
billingevent_a57d1815:w->allocationtoken_a08ccbef:e
@@ -570,8 +570,8 @@ td.section {
fk_billing_event_allocation_token
-
-
+
+
billingrecurrence_5fa2cb01
@@ -694,8 +694,8 @@ td.section {
timestamptz not null
-
-
+
+
billingevent_a57d1815:w->billingrecurrence_5fa2cb01:e
@@ -707,3724 +707,3580 @@ td.section {
fk_billing_event_cancellation_matching_billing_recurrence_id
-
-
+
+
domainhistory_a54cc226
-
-
+
+
public.DomainHistory
-
-
+
+
[table]
-
+
history_revision_id
-
+
-
+
int8 not null
-
+
history_by_superuser
-
+
-
+
bool not null
-
+
history_registrar_id
-
+
-
+
text
-
+
history_modification_time
-
+
-
+
timestamptz not null
-
+
history_reason
-
+
-
+
text
-
+
history_requested_by_registrar
-
+
-
+
bool
-
+
history_client_transaction_id
-
+
-
+
text
-
+
history_server_transaction_id
-
+
-
+
text
-
+
history_type
-
+
-
+
text not null
-
+
history_xml_bytes
-
+
-
+
bytea
-
+
admin_contact
-
+
-
+
text
-
+
auth_info_repo_id
-
+
-
+
text
-
+
auth_info_value
-
+
-
+
text
-
+
billing_recurrence_id
-
+
-
+
int8
-
+
autorenew_poll_message_id
-
+
-
+
int8
-
+
billing_contact
-
+
-
+
text
-
+
deletion_poll_message_id
-
+
-
+
int8
-
+
domain_name
-
+
-
+
text
-
+
idn_table_name
-
+
-
+
text
-
+
last_transfer_time
-
+
-
+
timestamptz
-
+
launch_notice_accepted_time
-
+
-
+
timestamptz
-
+
launch_notice_expiration_time
-
+
-
+
timestamptz
-
+
launch_notice_tcn_id
-
+
-
+
text
-
+
launch_notice_validator_id
-
+
-
+
text
-
+
registrant_contact
-
+
-
+
text
-
+
registration_expiration_time
-
+
-
+
timestamptz
-
+
smd_id
-
+
-
+
text
-
+
subordinate_hosts
-
+
-
+
_text
-
+
tech_contact
-
+
-
+
text
-
+
tld
-
+
-
+
text
-
+
transfer_billing_cancellation_id
-
+
-
+
int8
-
+
transfer_billing_recurrence_id
-
+
-
+
int8
-
+
transfer_autorenew_poll_message_id
-
+
-
+
int8
-
+
transfer_billing_event_id
-
+
-
+
int8
-
+
transfer_renew_period_unit
-
+
-
+
text
-
+
transfer_renew_period_value
-
+
-
+
int4
-
+
transfer_registration_expiration_time
-
+
-
+
timestamptz
-
+
transfer_poll_message_id_1
-
+
-
+
int8
-
+
transfer_poll_message_id_2
-
+
-
+
int8
-
+
transfer_client_txn_id
-
+
-
+
text
-
+
transfer_server_txn_id
-
+
-
+
text
-
+
transfer_gaining_registrar_id
-
+
-
+
text
-
+
transfer_losing_registrar_id
-
+
-
+
text
-
+
transfer_pending_expiration_time
-
+
-
+
timestamptz
-
+
transfer_request_time
-
+
-
+
timestamptz
-
+
transfer_status
-
+
-
+
text
-
+
creation_registrar_id
-
+
-
+
text
-
+
creation_time
-
+
-
+
timestamptz
-
+
current_sponsor_registrar_id
-
+
-
+
text
-
+
deletion_time
-
+
-
+
timestamptz
-
+
last_epp_update_registrar_id
-
+
-
+
text
-
+
last_epp_update_time
-
+
-
+
timestamptz
-
+
statuses
-
+
-
+
_text
-
+
update_timestamp
-
+
-
+
timestamptz
-
+
domain_repo_id
-
+
-
+
text not null
-
+
autorenew_end_time
-
+
-
+
timestamptz
-
+
history_other_registrar_id
-
+
-
+
text
-
+
history_period_unit
-
+
-
+
text
-
+
history_period_value
-
+
-
+
int4
-
- billing_recurrence_history_id
-
-
-
-
- int8
-
-
+
autorenew_poll_message_history_id
-
+
-
+
int8
-
- deletion_poll_message_history_id
-
-
-
-
- int8
-
-
- transfer_billing_recurrence_history_id
-
-
-
-
- int8
-
-
+
transfer_autorenew_poll_message_history_id
-
+
-
+
int8
-
- transfer_billing_event_history_id
-
-
-
-
- int8
-
-
+
transfer_history_entry_id
-
+
-
+
int8
-
+
transfer_repo_id
-
+
-
+
text
-
+
transfer_poll_message_id_3
-
+
-
+
int8
-
- transfer_billing_cancellation_history_id
-
-
-
-
- int8
-
-
+
dns_refresh_request_time
-
+
-
+
timestamptz
-
-
+
+
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
-
-
+
+
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
-
-
+
+
billingcancellation_6eedf614
-
-
+
+
public.BillingCancellation
-
-
+
+
[table]
-
+
billing_cancellation_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
-
+
flags
-
+
-
+
_text
-
+
reason
-
+
-
+
text not null
-
+
domain_name
-
+
-
+
text not null
-
+
billing_time
-
+
-
+
timestamptz
-
+
billing_event_id
-
+
-
+
int8
-
+
billing_recurrence_id
-
+
-
+
int8
-
+
billing_event_history_id
-
+
-
+
int8
-
+
billing_event_domain_repo_id
-
+
-
+
text
-
+
billing_recurrence_history_id
-
+
-
+
int8
-
+
billing_recurrence_domain_repo_id
-
+
-
+
text
-
-
+
+
billingcancellation_6eedf614:w->billingevent_a57d1815:e
-
-
-
+
+
+
-
+
fk_billing_cancellation_billing_event_id
-
-
+
+
billingcancellation_6eedf614:w->billingrecurrence_5fa2cb01:e
-
-
-
+
+
+
-
+
fk_billing_cancellation_billing_recurrence_id
-
-
+
+
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->registrar_6e1503e3:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_billing_cancellation_registrar_id
-
-
+
+
domain_6c51cffa
-
-
+
+
public.Domain
-
-
+
+
[table]
-
+
repo_id
-
+
-
+
text not null
-
+
creation_registrar_id
-
+
-
+
text not null
-
+
creation_time
-
+
-
+
timestamptz not null
-
+
current_sponsor_registrar_id
-
+
-
+
text not null
-
+
deletion_time
-
+
-
+
timestamptz
-
+
last_epp_update_registrar_id
-
+
-
+
text
-
+
last_epp_update_time
-
+
-
+
timestamptz
-
+
statuses
-
+
-
+
_text
-
+
auth_info_repo_id
-
+
-
+
text
-
+
auth_info_value
-
+
-
+
text
-
+
domain_name
-
+
-
+
text
-
+
idn_table_name
-
+
-
+
text
-
+
last_transfer_time
-
+
-
+
timestamptz
-
+
launch_notice_accepted_time
-
+
-
+
timestamptz
-
+
launch_notice_expiration_time
-
+
-
+
timestamptz
-
+
launch_notice_tcn_id
-
+
-
+
text
-
+
launch_notice_validator_id
-
+
-
+
text
-
+
registration_expiration_time
-
+
-
+
timestamptz
-
+
smd_id
-
+
-
+
text
-
+
subordinate_hosts
-
+
-
+
_text
-
+
tld
-
+
-
+
text
-
+
admin_contact
-
+
-
+
text
-
+
billing_contact
-
+
-
+
text
-
+
registrant_contact
-
+
-
+
text
-
+
tech_contact
-
+
-
+
text
-
+
transfer_poll_message_id_1
-
+
-
+
int8
-
+
transfer_poll_message_id_2
-
+
-
+
int8
-
+
transfer_billing_cancellation_id
-
+
-
+
int8
-
+
transfer_billing_event_id
-
+
-
+
int8
-
+
transfer_billing_recurrence_id
-
+
-
+
int8
-
+
transfer_autorenew_poll_message_id
-
+
-
+
int8
-
+
transfer_renew_period_unit
-
+
-
+
text
-
+
transfer_renew_period_value
-
+
-
+
int4
-
+
transfer_client_txn_id
-
+
-
+
text
-
+
transfer_server_txn_id
-
+
-
+
text
-
+
transfer_registration_expiration_time
-
+
-
+
timestamptz
-
+
transfer_gaining_registrar_id
-
+
-
+
text
-
+
transfer_losing_registrar_id
-
+
-
+
text
-
+
transfer_pending_expiration_time
-
+
-
+
timestamptz
-
+
transfer_request_time
-
+
-
+
timestamptz
-
+
transfer_status
-
+
-
+
text
-
+
update_timestamp
-
+
-
+
timestamptz
-
+
billing_recurrence_id
-
+
-
+
int8
-
+
autorenew_poll_message_id
-
+
-
+
int8
-
+
deletion_poll_message_id
-
+
-
+
int8
-
+
autorenew_end_time
-
+
-
+
timestamptz
-
- billing_recurrence_history_id
-
-
-
-
- int8
-
-
+
autorenew_poll_message_history_id
-
+
-
+
int8
-
- deletion_poll_message_history_id
-
-
-
-
- int8
-
-
- transfer_billing_recurrence_history_id
-
-
-
-
- int8
-
-
+
transfer_autorenew_poll_message_history_id
-
+
-
+
int8
-
- transfer_billing_event_history_id
-
-
-
-
- int8
-
-
+
transfer_history_entry_id
-
+
-
+
int8
-
+
transfer_repo_id
-
+
-
+
text
-
+
transfer_poll_message_id_3
-
+
-
+
int8
-
- transfer_billing_cancellation_history_id
-
-
-
-
- int8
-
-
+
dns_refresh_request_time
-
+
-
+
timestamptz
-
-
+
+
domain_6c51cffa:w->billingevent_a57d1815:e
-
-
-
-
+
+
+
+
-
+
-
+
fk_domain_transfer_billing_event_id
-
-
+
+
domain_6c51cffa:w->billingcancellation_6eedf614:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_domain_transfer_billing_cancellation_id
-
-
+
+
domain_6c51cffa:w->billingrecurrence_5fa2cb01:e
-
-
-
+
+
+
-
+
fk_domain_billing_recurrence_id
-
-
+
+
domain_6c51cffa:w->billingrecurrence_5fa2cb01:e
-
-
-
+
+
+
-
+
fk_domain_transfer_billing_recurrence_id
-
-
+
+
contact_8de8cb16
-
-
+
+
public.Contact
-
-
+
+
[table]
-
+
repo_id
-
+
-
+
text not null
-
+
creation_registrar_id
-
+
-
+
text not null
-
+
creation_time
-
+
-
+
timestamptz not null
-
+
current_sponsor_registrar_id
-
+
-
+
text not null
-
+
deletion_time
-
+
-
+
timestamptz
-
+
last_epp_update_registrar_id
-
+
-
+
text
-
+
last_epp_update_time
-
+
-
+
timestamptz
-
+
statuses
-
+
-
+
_text
-
+
auth_info_repo_id
-
+
-
+
text
-
+
auth_info_value
-
+
-
+
text
-
+
contact_id
-
+
-
+
text
-
+
disclose_types_addr
-
+
-
+
_text
-
+
disclose_show_email
-
+
-
+
bool
-
+
disclose_show_fax
-
+
-
+
bool
-
+
disclose_mode_flag
-
+
-
+
bool
-
+
disclose_types_name
-
+
-
+
_text
-
+
disclose_types_org
-
+
-
+
_text
-
+
disclose_show_voice
-
+
-
+
bool
-
+
email
-
+
-
+
text
-
+
fax_phone_extension
-
+
-
+
text
-
+
fax_phone_number
-
+
-
+
text
-
+
addr_i18n_city
-
+
-
+
text
-
+
addr_i18n_country_code
-
+
-
+
text
-
+
addr_i18n_state
-
+
-
+
text
-
+
addr_i18n_street_line1
-
+
-
+
text
-
+
addr_i18n_street_line2
-
+
-
+
text
-
+
addr_i18n_street_line3
-
+
-
+
text
-
+
addr_i18n_zip
-
+
-
+
text
-
+
addr_i18n_name
-
+
-
+
text
-
+
addr_i18n_org
-
+
-
+
text
-
+
addr_i18n_type
-
+
-
+
text
-
+
last_transfer_time
-
+
-
+
timestamptz
-
+
addr_local_city
-
+
-
+
text
-
+
addr_local_country_code
-
+
-
+
text
-
+
addr_local_state
-
+
-
+
text
-
+
addr_local_street_line1
-
+
-
+
text
-
+
addr_local_street_line2
-
+
-
+
text
-
+
addr_local_street_line3
-
+
-
+
text
-
+
addr_local_zip
-
+
-
+
text
-
+
addr_local_name
-
+
-
+
text
-
+
addr_local_org
-
+
-
+
text
-
+
addr_local_type
-
+
-
+
text
-
+
search_name
-
+
-
+
text
-
+
voice_phone_extension
-
+
-
+
text
-
+
voice_phone_number
-
+
-
+
text
-
+
transfer_poll_message_id_1
-
+
-
+
int8
-
+
transfer_poll_message_id_2
-
+
-
+
int8
-
+
transfer_client_txn_id
-
+
-
+
text
-
+
transfer_server_txn_id
-
+
-
+
text
-
+
transfer_gaining_registrar_id
-
+
-
+
text
-
+
transfer_losing_registrar_id
-
+
-
+
text
-
+
transfer_pending_expiration_time
-
+
-
+
timestamptz
-
+
transfer_request_time
-
+
-
+
timestamptz
-
+
transfer_status
-
+
-
+
text
-
+
update_timestamp
-
+
-
+
timestamptz
-
+
transfer_history_entry_id
-
+
-
+
int8
-
+
transfer_repo_id
-
+
-
+
text
-
+
transfer_poll_message_id_3
-
+
-
+
int8
-
-
+
+
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
-
-
+
+
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
-
-
+
+
public.Tld
-
-
+
+
[table]
-
+
tld_name
-
+
-
+
text not null
-
+
add_grace_period_length
-
+
-
+
interval not null
-
+
allowed_fully_qualified_host_names
-
+
-
+
_text
-
+
allowed_registrant_contact_ids
-
+
-
+
_text
-
+
anchor_tenant_add_grace_period_length
-
+
-
+
interval not null
-
+
auto_renew_grace_period_length
-
+
-
+
interval not null
-
+
automatic_transfer_length
-
+
-
+
interval not null
-
+
claims_period_end
-
+
-
+
timestamptz not null
-
+
create_billing_cost_amount
-
+
-
+
numeric(19, 2)
-
+
create_billing_cost_currency
-
+
-
+
text
-
+
creation_time
-
+
-
+
timestamptz not null
-
+
currency
-
+
-
+
text not null
-
+
dns_paused
-
+
-
+
bool not null
-
+
dns_writers
-
+
-
+
_text not null
-
+
drive_folder_id
-
+
-
+
text
-
+
eap_fee_schedule
-
+
-
+
"hstore" not null
-
+
escrow_enabled
-
+
-
+
bool not null
-
+
invoicing_enabled
-
+
-
+
bool not null
-
+
lordn_username
-
+
-
+
text
-
+
num_dns_publish_locks
-
+
-
+
int4 not null
-
+
pending_delete_length
-
+
-
+
interval not null
-
+
premium_list_name
-
+
-
+
text
-
+
pricing_engine_class_name
-
+
-
+
text
-
+
redemption_grace_period_length
-
+
-
+
interval not null
-
+
registry_lock_or_unlock_cost_amount
-
+
-
+
numeric(19, 2)
-
+
registry_lock_or_unlock_cost_currency
-
+
-
+
text
-
+
renew_billing_cost_transitions
-
+
-
+
"hstore" not null
-
+
renew_grace_period_length
-
+
-
+
interval not null
-
+
reserved_list_names
-
+
-
+
_text
-
+
restore_billing_cost_amount
-
+
-
+
numeric(19, 2)
-
+
restore_billing_cost_currency
-
+
-
+
text
-
+
roid_suffix
-
+
-
+
text
-
+
server_status_change_billing_cost_amount
-
+
-
+
numeric(19, 2)
-
+
server_status_change_billing_cost_currency
-
+
-
+
text
-
+
tld_state_transitions
-
+
-
+
"hstore" not null
-
+
tld_type
-
+
-
+
text not null
-
+
tld_unicode
-
+
-
+
text not null
-
+
transfer_grace_period_length
-
+
-
+
interval not null
-
-
+
+
domain_6c51cffa:w->tld_f1fa57e2:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_domain_tld
-
-
+
+
graceperiod_cd3b2e8f
-
-
+
+
public.GracePeriod
-
-
+
+
[table]
-
+
grace_period_id
-
+
-
+
int8 not null
-
+
billing_event_id
-
+
-
+
int8
-
+
billing_recurrence_id
-
+
-
+
int8
-
+
registrar_id
-
+
-
+
text not null
-
+
domain_repo_id
-
+
-
+
text not null
-
+
expiration_time
-
+
-
+
timestamptz not null
-
+
type
-
+
-
+
text not null
-
- billing_event_history_id
-
-
-
-
- int8
-
-
- billing_recurrence_history_id
-
-
-
-
- int8
-
-
- billing_event_domain_repo_id
-
-
-
-
- text
-
-
- billing_recurrence_domain_repo_id
-
-
-
-
- text
-
-
-
+
+
graceperiod_cd3b2e8f:w->billingevent_a57d1815:e
-
-
-
+
+
+
-
+
fk_grace_period_billing_event_id
-
-
+
+
graceperiod_cd3b2e8f:w->domain_6c51cffa:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_grace_period_domain_repo_id
-
-
+
+
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
-
-
+
+
claimsentry_105da9f1
-
-
+
+
public.ClaimsEntry
-
-
+
+
[table]
-
+
revision_id
-
+
-
+
int8 not null
-
+
claim_key
-
+
-
+
text not null
-
+
domain_label
-
+
-
+
text not null
-
-
+
+
claimslist_3d49bc2b
-
-
+
+
public.ClaimsList
-
-
+
+
[table]
-
+
revision_id
-
+
-
+
bigserial not null
-
+
-
+
auto-incremented
-
+
creation_timestamp
-
+
-
+
timestamptz not null
-
+
tmdb_generation_time
-
+
-
+
timestamptz not null
-
-
+
+
claimsentry_105da9f1:w->claimslist_3d49bc2b:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk6sc6at5hedffc0nhdcab6ivuq
-
-
+
+
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
-
-
+
+
contacthistory_d2964f8a
-
-
+
+
public.ContactHistory
-
-
+
+
[table]
-
+
history_revision_id
-
+
-
+
int8 not null
-
+
history_by_superuser
-
+
-
+
bool not null
-
+
history_registrar_id
-
+
-
+
text
-
+
history_modification_time
-
+
-
+
timestamptz not null
-
+
history_reason
-
+
-
+
text
-
+
history_requested_by_registrar
-
+
-
+
bool
-
+
history_client_transaction_id
-
+
-
+
text
-
+
history_server_transaction_id
-
+
-
+
text
-
+
history_type
-
+
-
+
text not null
-
+
history_xml_bytes
-
+
-
+
bytea
-
+
auth_info_repo_id
-
+
-
+
text
-
+
auth_info_value
-
+
-
+
text
-
+
contact_id
-
+
-
+
text
-
+
disclose_types_addr
-
+
-
+
_text
-
+
disclose_show_email
-
+
-
+
bool
-
+
disclose_show_fax
-
+
-
+
bool
-
+
disclose_mode_flag
-
+
-
+
bool
-
+
disclose_types_name
-
+
-
+
_text
-
+
disclose_types_org
-
+
-
+
_text
-
+
disclose_show_voice
-
+
-
+
bool
-
+
email
-
+
-
+
text
-
+
fax_phone_extension
-
+
-
+
text
-
+
fax_phone_number
-
+
-
+
text
-
+
addr_i18n_city
-
+
-
+
text
-
+
addr_i18n_country_code
-
+
-
+
text
-
+
addr_i18n_state
-
+
-
+
text
-
+
addr_i18n_street_line1
-
+
-
+
text
-
+
addr_i18n_street_line2
-
+
-
+
text
-
+
addr_i18n_street_line3
-
+
-
+
text
-
+
addr_i18n_zip
-
+
-
+
text
-
+
addr_i18n_name
-
+
-
+
text
-
+
addr_i18n_org
-
+
-
+
text
-
+
addr_i18n_type
-
+
-
+
text
-
+
last_transfer_time
-
+
-
+
timestamptz
-
+
addr_local_city
-
+
-
+
text
-
+
addr_local_country_code
-
+
-
+
text
-
+
addr_local_state
-
+
-
+
text
-
+
addr_local_street_line1
-
+
-
+
text
-
+
addr_local_street_line2
-
+
-
+
text
-
+
addr_local_street_line3
-
+
-
+
text
-
+
addr_local_zip
-
+
-
+
text
-
+
addr_local_name
-
+
-
+
text
-
+
addr_local_org
-
+
-
+
text
-
+
addr_local_type
-
+
-
+
text
-
+
search_name
-
+
-
+
text
-
+
transfer_poll_message_id_1
-
+
-
+
int8
-
+
transfer_poll_message_id_2
-
+
-
+
int8
-
+
transfer_client_txn_id
-
+
-
+
text
-
+
transfer_server_txn_id
-
+
-
+
text
-
+
transfer_gaining_registrar_id
-
+
-
+
text
-
+
transfer_losing_registrar_id
-
+
-
+
text
-
+
transfer_pending_expiration_time
-
+
-
+
timestamptz
-
+
transfer_request_time
-
+
-
+
timestamptz
-
+
transfer_status
-
+
-
+
text
-
+
voice_phone_extension
-
+
-
+
text
-
+
voice_phone_number
-
+
-
+
text
-
+
creation_registrar_id
-
+
-
+
text
-
+
creation_time
-
+
-
+
timestamptz
-
+
current_sponsor_registrar_id
-
+
-
+
text
-
+
deletion_time
-
+
-
+
timestamptz
-
+
last_epp_update_registrar_id
-
+
-
+
text
-
+
last_epp_update_time
-
+
-
+
timestamptz
-
+
statuses
-
+
-
+
_text
-
+
contact_repo_id
-
+
-
+
text not null
-
+
update_timestamp
-
+
-
+
timestamptz
-
+
transfer_history_entry_id
-
+
-
+
int8
-
+
transfer_repo_id
-
+
-
+
text
-
+
transfer_poll_message_id_3
-
+
-
+
int8
-
-
+
+
contacthistory_d2964f8a:w->contact_8de8cb16:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_contact_history_contact_repo_id
-
-
+
+
contacthistory_d2964f8a:w->registrar_6e1503e3:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_contact_history_registrar_id
-
-
+
+
pollmessage_614a523e
-
-
+
+
public.PollMessage
-
-
+
+
[table]
-
- type
-
-
-
-
- text not null
-
-
- poll_message_id
-
-
-
-
- int8 not null
-
-
- registrar_id
-
-
-
-
- text not null
-
-
- contact_repo_id
-
-
-
-
- text
-
- contact_history_revision_id
+ type
- int8
+ text not null
-
- domain_repo_id
+
+ poll_message_id
- text
+ int8 not null
- domain_history_revision_id
+ registrar_id
- int8
+ text not null
- event_time
+ contact_repo_id
- timestamptz not null
+ text
- host_repo_id
+ contact_history_revision_id
- text
+ int8
- host_history_revision_id
+ domain_repo_id
- int8
+ text
- message
+ domain_history_revision_id
- text
+ int8
- transfer_response_contact_id
+ event_time
- text
+ timestamptz not null
- transfer_response_domain_expiration_time
+ host_repo_id
- timestamptz
+ text
- transfer_response_domain_name
+ host_history_revision_id
- text
+ int8
- pending_action_response_action_result
+ message
- bool
+ text
- pending_action_response_name_or_id
+ transfer_response_contact_id
@@ -4432,7 +4288,7 @@ td.section {
text
- pending_action_response_processed_date
+ transfer_response_domain_expiration_time
@@ -4440,7 +4296,7 @@ td.section {
timestamptz
- pending_action_response_client_txn_id
+ transfer_response_domain_name
@@ -4448,15 +4304,15 @@ td.section {
text
- pending_action_response_server_txn_id
+ pending_action_response_action_result
- text
+ bool
- transfer_response_gaining_registrar_id
+ pending_action_response_name_or_id
@@ -4464,31 +4320,31 @@ td.section {
text
- transfer_response_losing_registrar_id
+ pending_action_response_processed_date
- text
+ timestamptz
- transfer_response_pending_transfer_expiration_time
+ pending_action_response_client_txn_id
- timestamptz
+ text
- transfer_response_transfer_request_time
+ pending_action_response_server_txn_id
- timestamptz
+ text
- transfer_response_transfer_status
+ transfer_response_gaining_registrar_id
@@ -4496,346 +4352,346 @@ td.section {
text
- autorenew_end_time
+ transfer_response_losing_registrar_id
- timestamptz
+ text
- autorenew_domain_name
+ transfer_response_pending_transfer_expiration_time
- text
+ timestamptz
- transfer_response_host_id
+ transfer_response_transfer_request_time
+ timestamptz
+
+
+ transfer_response_transfer_status
+
+
+
+
text
-
-
+
+ autorenew_end_time
+
+
+
+
+ timestamptz
+
+
+ autorenew_domain_name
+
+
+
+
+ text
+
+
+ transfer_response_host_id
+
+
+
+
+ text
+
+
+
pollmessage_614a523e:w->domain_6c51cffa:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_poll_message_domain_repo_id
-
-
+
+
pollmessage_614a523e:w->contact_8de8cb16:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_poll_message_contact_repo_id
-
-
+
+
pollmessage_614a523e:w->contacthistory_d2964f8a:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_poll_message_contact_history
-
-
+
+
pollmessage_614a523e:w->contacthistory_d2964f8a:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_poll_message_contact_history
-
-
+
+
pollmessage_614a523e:w->domainhistory_a54cc226:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_poll_message_domain_history
-
-
+
+
pollmessage_614a523e:w->domainhistory_a54cc226:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_poll_message_domain_history
-
-
+
+
host_f21b78de
-
-
+
+
public.Host
-
-
+
+
[table]
-
+
repo_id
-
+
-
+
text not null
-
+
creation_registrar_id
-
+
-
+
text
-
+
creation_time
-
+
-
+
timestamptz
-
+
current_sponsor_registrar_id
-
+
-
+
text
-
+
deletion_time
-
+
-
+
timestamptz
-
+
last_epp_update_registrar_id
-
+
-
+
text
-
+
last_epp_update_time
-
+
-
+
timestamptz
-
+
statuses
-
+
-
+
_text
-
+
host_name
-
+
-
+
text
-
+
last_superordinate_change
-
+
-
+
timestamptz
-
+
last_transfer_time
-
+
-
+
timestamptz
-
+
superordinate_domain
-
+
-
+
text
-
+
inet_addresses
-
+
-
+
_text
-
+
update_timestamp
-
+
-
+
timestamptz
-
+
transfer_poll_message_id_3
-
+
-
+
int8
-
-
+
+
pollmessage_614a523e:w->host_f21b78de:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_poll_message_host_repo_id
-
-
+
+
hosthistory_56210c2
-
-
+
+
public.HostHistory
-
-
+
+
[table]
-
+
history_revision_id
-
-
-
- int8 not null
-
-
- history_by_superuser
-
-
-
-
- bool not null
-
-
- history_registrar_id
-
-
-
-
- text not null
-
-
- history_modification_time
-
-
-
-
- timestamptz not null
-
-
- history_reason
-
- text
+ int8 not null
- history_requested_by_registrar
+ history_by_superuser
- bool
+ bool not null
- history_client_transaction_id
+ history_registrar_id
- text
+ text not null
- history_server_transaction_id
+ history_modification_time
- text
+ timestamptz not null
- history_type
+ history_reason
- text not null
+ text
- history_xml_bytes
+ history_requested_by_registrar
- bytea
+ bool
- host_name
+ history_client_transaction_id
@@ -4843,31 +4699,31 @@ td.section {
text
- inet_addresses
+ history_server_transaction_id
- _text
+ text
- last_superordinate_change
+ history_type
- timestamptz
+ text not null
- last_transfer_time
+ history_xml_bytes
- timestamptz
+ bytea
- superordinate_domain
+ host_name
@@ -4875,15 +4731,15 @@ td.section {
text
- creation_registrar_id
+ inet_addresses
- text
+ _text
- creation_time
+ last_superordinate_change
@@ -4891,23 +4747,23 @@ td.section {
timestamptz
- current_sponsor_registrar_id
+ last_transfer_time
- text
+ timestamptz
- deletion_time
+ superordinate_domain
- timestamptz
+ text
- last_epp_update_registrar_id
+ creation_registrar_id
@@ -4915,7 +4771,7 @@ td.section {
text
- last_epp_update_time
+ creation_time
@@ -4923,1019 +4779,1019 @@ td.section {
timestamptz
- statuses
+ current_sponsor_registrar_id
- _text
+ text
-
- host_repo_id
+
+ deletion_time
- text not null
+ timestamptz
- update_timestamp
+ last_epp_update_registrar_id
- timestamptz
+ text
- transfer_poll_message_id_3
+ last_epp_update_time
+ timestamptz
+
+
+ statuses
+
+
+
+
+ _text
+
+
+ host_repo_id
+
+
+
+
+ text not null
+
+
+ update_timestamp
+
+
+
+
+ timestamptz
+
+
+ transfer_poll_message_id_3
+
+
+
+
int8
-
-
+
+
pollmessage_614a523e:w->hosthistory_56210c2:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_poll_message_host_history
-
-
+
+
pollmessage_614a523e:w->hosthistory_56210c2:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk_poll_message_host_history
-
-
+
+
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
-
-
+
+
cursor_6af40e8c
-
-
+
+
public."Cursor"
-
-
+
+
[table]
-
+
"scope"
-
+
-
+
text not null
-
+
type
-
+
-
+
text not null
-
+
cursor_time
-
+
-
+
timestamptz not null
-
+
last_update_time
-
+
-
+
timestamptz not null
-
-
+
+
databasemigrationstateschedule_22edefab
-
-
+
+
public.DatabaseMigrationStateSchedule
-
-
+
+
[table]
-
+
id
-
+
-
+
int8 not null
-
+
migration_transitions
-
+
-
+
"hstore"
-
-
+
+
delegationsignerdata_e542a872
-
-
+
+
public.DelegationSignerData
-
-
+
+
[table]
-
- domain_repo_id
-
-
-
-
- text not null
-
-
- key_tag
-
-
-
-
- int4 not null
-
-
- algorithm
-
-
-
-
- int4 not null
-
-
- digest
-
-
-
-
- bytea not null
-
- digest_type
+ domain_repo_id
- int4 not null
-
-
-
-
- delegationsignerdata_e542a872:w->domain_6c51cffa:e
-
-
-
-
-
-
-
-
- fktr24j9v14ph2mfuw2gsmt12kq
-
-
-
- domainhistory_a54cc226:w->domain_6c51cffa:e
-
-
-
-
-
-
-
-
- fk_domain_history_domain_repo_id
-
-
-
- domainhistory_a54cc226:w->registrar_6e1503e3:e
-
-
-
-
-
-
-
-
- fk_domain_history_registrar_id
-
-
-
- domainhost_1ea127c2
-
-
- public.DomainHost
-
-
-
- [table]
-
-
- domain_repo_id
-
-
-
-
text not null
-
- host_repo_id
-
-
-
-
- text
-
-
-
-
- domainhost_1ea127c2:w->domain_6c51cffa:e
-
-
-
-
-
-
-
-
- fkfmi7bdink53swivs390m2btxg
-
-
-
- domainhost_1ea127c2:w->host_f21b78de:e
-
-
-
-
-
-
-
-
- fk_domainhost_host_valid
-
-
-
- host_f21b78de:w->domain_6c51cffa:e
-
-
-
-
-
-
-
-
- fk_host_superordinate_domain
-
-
-
- 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
-
-
- public.DomainDsDataHistory
-
-
-
- [table]
-
-
- ds_data_history_revision_id
-
-
-
-
- int8 not null
-
-
- algorithm
-
-
-
-
- int4 not null
-
-
- digest
-
-
-
-
- bytea not null
-
-
- digest_type
-
-
-
-
- int4 not null
-
-
- domain_history_revision_id
-
-
-
-
- int8 not null
-
-
+
key_tag
-
+
-
+
int4 not null
-
- domain_repo_id
+
+ algorithm
-
+
-
- text
+
+ int4 not null
-
-
-
- domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e
-
-
-
-
-
-
-
-
- fko4ilgyyfnvppbpuivus565i0j
+
+ digest
-
-
- domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e
-
-
-
-
-
-
-
-
- fko4ilgyyfnvppbpuivus565i0j
+
-
-
- domainhistoryhost_9f3f23ee
-
-
- public.DomainHistoryHost
+
+ bytea not null
-
-
+
+ digest_type
+
+
+
+
+ int4 not null
+
+
+
+
+ delegationsignerdata_e542a872:w->domain_6c51cffa:e
+
+
+
+
+
+
+
+
+ fktr24j9v14ph2mfuw2gsmt12kq
+
+
+
+ domainhistory_a54cc226:w->domain_6c51cffa:e
+
+
+
+
+
+
+
+
+ fk_domain_history_domain_repo_id
+
+
+
+ domainhistory_a54cc226:w->registrar_6e1503e3:e
+
+
+
+
+
+
+
+
+ fk_domain_history_registrar_id
+
+
+
+ domainhost_1ea127c2
+
+
+ public.DomainHost
+
+
+
[table]
-
- domain_history_history_revision_id
+
+ domain_repo_id
-
+
-
- int8 not null
+
+ text not null
-
+
host_repo_id
-
+
-
+
text
-
- domain_history_domain_repo_id
+
+
+
+ domainhost_1ea127c2:w->domain_6c51cffa:e
+
+
+
+
+
+
+
+
+ fkfmi7bdink53swivs390m2btxg
+
+
+
+ domainhost_1ea127c2:w->host_f21b78de:e
+
+
+
+
+
+
+
+
+ fk_domainhost_host_valid
+
+
+
+ host_f21b78de:w->domain_6c51cffa:e
+
+
+
+
+
+
+
+
+ fk_host_superordinate_domain
+
+
+
+ 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
+
+
+ public.DomainDsDataHistory
-
-
-
- text not null
-
-
-
-
- domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e
-
-
-
-
-
-
-
-
- fka9woh3hu8gx5x0vly6bai327n
-
-
-
- domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e
-
-
-
-
-
-
-
-
- fka9woh3hu8gx5x0vly6bai327n
-
-
-
- domaintransactionrecord_6e77ff61
-
-
- public.DomainTransactionRecord
-
-
-
+
+
[table]
-
- id
+
+ ds_data_history_revision_id
-
+
-
- bigserial not null
+
+ int8 not null
-
+
+ algorithm
-
- auto-incremented
+
-
- report_amount
-
-
-
-
+
int4 not null
-
- report_field
+
+ digest
-
+
-
- text not null
+
+ bytea not null
-
- reporting_time
+
+ digest_type
-
+
-
- timestamptz not null
+
+ int4 not null
-
- tld
-
-
-
-
- text not null
-
-
- domain_repo_id
-
-
-
-
- text
-
-
- history_revision_id
-
-
-
-
- int8
-
-
-
-
- domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e
-
-
-
-
-
-
-
-
- fkcjqe54u72kha71vkibvxhjye7
-
-
-
- domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e
-
-
-
-
-
-
-
-
- fkcjqe54u72kha71vkibvxhjye7
-
-
-
- domaintransactionrecord_6e77ff61:w->tld_f1fa57e2:e
-
-
-
-
-
-
-
-
- fk_domain_transaction_record_tld
-
-
-
- graceperiodhistory_40ccc1f1
-
-
- public.GracePeriodHistory
-
-
-
- [table]
-
-
- grace_period_history_revision_id
-
-
-
-
- int8 not null
-
-
- billing_event_id
-
-
-
-
- int8
-
-
- billing_event_history_id
-
-
-
-
- int8
-
-
- billing_recurrence_id
-
-
-
-
- int8
-
-
- billing_recurrence_history_id
-
-
-
-
- int8
-
-
- registrar_id
-
-
-
-
- text not null
-
-
- domain_repo_id
-
-
-
-
- text not null
-
-
- expiration_time
-
-
-
-
- timestamptz not null
-
-
- type
-
-
-
-
- text not null
-
-
+
domain_history_revision_id
-
+
-
- int8
-
-
- grace_period_id
-
-
-
-
+
int8 not null
-
- billing_event_domain_repo_id
+
+ key_tag
-
+
-
+
+ int4 not null
+
+
+ domain_repo_id
+
+
+
+
text
-
- billing_recurrence_domain_repo_id
+
+
+
+ domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e
+
+
+
+
+
+
+
+
+ fko4ilgyyfnvppbpuivus565i0j
+
+
+
+ domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e
+
+
+
+
+
+
+
+
+ fko4ilgyyfnvppbpuivus565i0j
+
+
+
+ domainhistoryhost_9f3f23ee
+
+
+ public.DomainHistoryHost
-
-
-
- text
-
-
-
-
- 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
-
-
-
-
-
-
-
-
- fk_history_registrar_id
-
-
-
- lock_f21d4861
-
-
- public.Lock
-
-
-
+
+
[table]
-
- resource_name
+
+ domain_history_history_revision_id
-
+
-
+
+ int8 not null
+
+
+ host_repo_id
+
+
+
+
+ text
+
+
+ domain_history_domain_repo_id
+
+
+
+
text not null
-
- "scope"
+
+
+
+ domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e
+
+
+
+
+
+
+
+
+ fka9woh3hu8gx5x0vly6bai327n
+
+
+
+ domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e
+
+
+
+
+
+
+
+
+ fka9woh3hu8gx5x0vly6bai327n
+
+
+
+ domaintransactionrecord_6e77ff61
+
+
+ public.DomainTransactionRecord
-
+
+
+ [table]
-
+
+ id
+
+
+
+
+ bigserial not null
+
+
+
+
+ auto-incremented
+
+
+ report_amount
+
+
+
+
+ int4 not null
+
+
+ report_field
+
+
+
+
text not null
-
- acquired_time
+
+ reporting_time
-
+
-
+
timestamptz not null
-
+
+ tld
+
+
+
+
+ text not null
+
+
+ domain_repo_id
+
+
+
+
+ text
+
+
+ history_revision_id
+
+
+
+
+ int8
+
+
+
+
+ domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e
+
+
+
+
+
+
+
+
+ fkcjqe54u72kha71vkibvxhjye7
+
+
+
+ domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e
+
+
+
+
+
+
+
+
+ fkcjqe54u72kha71vkibvxhjye7
+
+
+
+ domaintransactionrecord_6e77ff61:w->tld_f1fa57e2:e
+
+
+
+
+
+
+
+
+ fk_domain_transaction_record_tld
+
+
+
+ graceperiodhistory_40ccc1f1
+
+
+ public.GracePeriodHistory
+
+
+
+ [table]
+
+
+ grace_period_history_revision_id
+
+
+
+
+ int8 not null
+
+
+ billing_event_id
+
+
+
+
+ int8
+
+
+ billing_recurrence_id
+
+
+
+
+ int8
+
+
+ registrar_id
+
+
+
+
+ text not null
+
+
+ domain_repo_id
+
+
+
+
+ text not null
+
+
expiration_time
-
+
-
+
timestamptz not null
-
- request_log_id
+
+ type
+
+
+
+
+ text not null
+
+
+ domain_history_revision_id
+
+
+
+
+ int8
+
+
+ grace_period_id
+
+
+
+
+ int8 not null
+
+
+
+
+ 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
+
+
+
+
+
+
+
+
+ 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
+
+
+ request_log_id
+
+
+
+
+ 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
+ bigserial not null
- text not null
+ auto-incremented
-
-
-
- premiumentry_b0060b91:w->premiumlist_7c3ea68b:e
-
-
-
-
-
-
-
-
- fko0gw90lpo1tuee56l0nb6y6g5
+
+ creation_timestamp
-
-
- rderevision_83396864
-
-
- public.RdeRevision
+
-
-
- [table]
-
-
- tld
-
-
-
-
- text not null
-
-
- mode
-
-
-
-
- text not null
-
-
- "date"
-
-
-
-
- date not null
-
-
- update_timestamp
-
-
-
-
+
timestamptz
-
- revision
+
+ 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
@@ -6058,94 +5914,62 @@ td.section {
text not null
-
-
+
+
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
+ bigserial not null
- bool not null
+ auto-incremented
- registrar_id
+ lock_completion_time
- text not null
+ timestamptz
- registrar_poc_id
+ lock_request_time
- text
+ timestamptz not null
- repo_id
+ domain_name
@@ -6153,467 +5977,499 @@ td.section {
text not null
- verification_code
+ is_superuser
- text not null
+ bool not null
- unlock_request_time
+ registrar_id
- timestamptz
+ text not null
- unlock_completion_time
+ registrar_poc_id
- timestamptz
+ text
- last_update_time
+ repo_id
- timestamptz not null
+ text not null
- relock_revision_id
+ verification_code
- int8
+ text not null
- relock_duration
+ unlock_request_time
- interval
+ timestamptz
-
-
-
- registrylock_ac88663e:w->registrylock_ac88663e:e
-
-
-
-
-
-
-
-
- fk2lhcwpxlnqijr96irylrh1707
+
+ unlock_completion_time
-
-
- reservedentry_1a7b8520
-
-
- public.ReservedEntry
+
-
-
- [table]
+
+ timestamptz
-
- revision_id
+
+ last_update_time
-
+
-
- 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
+
+ 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
-
- should_publish
+
+
+
+ reservedlist_b97c3f1c
+
+
+ public.ReservedList
+
+
+
+ [table]
+
+
+ revision_id
- bool not null
+ bigserial not null
-
-
-
- reservedentry_1a7b8520:w->reservedlist_b97c3f1c:e
-
-
-
-
-
-
-
-
- fkgq03rk0bt1hb915dnyvd3vnfc
+
-
-
- serversecret_6cc90f09
-
-
- public.ServerSecret
+
+ auto-incremented
-
-
- [table]
+
+ creation_timestamp
-
- 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
+
+ name
-
+
-
+
text not null
-
-
-
- signedmarkrevocationlist_c5d968fb
-
-
- public.SignedMarkRevocationList
+
+ should_publish
-
-
+
+
+
+ bool not null
+
+
+
+
+ reservedentry_1a7b8520:w->reservedlist_b97c3f1c:e
+
+
+
+
+
+
+
+
+ fkgq03rk0bt1hb915dnyvd3vnfc
+
+
+
+ serversecret_6cc90f09
+
+
+ public.ServerSecret
+
+
+
[table]
-
- revision_id
+
+ secret
-
+
-
- bigserial not null
+
+ uuid not null
-
-
-
- auto-incremented
-
-
- creation_time
-
-
-
-
- timestamptz
-
-
-
-
- signedmarkrevocationentry_99c39721:w->signedmarkrevocationlist_c5d968fb:e
-
-
-
-
-
-
-
-
- fk5ivlhvs3121yx2li5tqh54u4
-
-
-
- spec11threatmatch_a61228a6
-
-
- public.Spec11ThreatMatch
-
-
-
- [table]
-
-
+
id
-
+
-
- bigserial not null
+
+ int8 not null
-
+
+
+
+ signedmarkrevocationentry_99c39721
+
+
+ public.SignedMarkRevocationEntry
-
- auto-incremented
+
+
+ [table]
-
- check_date
+
+ revision_id
-
+
-
- date not null
+
+ int8 not null
-
- domain_name
+
+ revocation_time
-
+
-
+
+ timestamptz not null
+
+
+ smd_id
+
+
+
+
text not null
-
- domain_repo_id
+
+
+
+ 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
- text not null
-
-
- registrar_id
+ bigserial not null
- text not null
+ auto-incremented
- threat_types
+ check_date
- _text not null
+ date not null
- tld
+ 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
+
+
+
sqlreplaycheckpoint_342081b3
-
-
+
+
public.SqlReplayCheckpoint
-
-
+
+
[table]
-
+
id
-
+
-
+
int8 not null
-
+
last_replay_time
-
+
-
+
timestamptz 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
-
-
+
+
transaction_d50389d4
-
-
+
+
public.Transaction
-
-
+
+
[table]
-
+
id
-
+
-
+
bigserial not null
-
+
-
+
auto-incremented
-
+
contents
-
+
-
+
bytea
-
+
Tables
- public.AllocationToken [table]
+ public.AllocationToken [table]
@@ -6785,7 +6641,7 @@ td.section {
- public.BillingCancellation [table]
+ public.BillingCancellation [table]
@@ -7046,7 +6902,7 @@ td.section {
- public.BillingEvent [table]
+ public.BillingEvent [table]
@@ -7365,7 +7221,7 @@ td.section {
- public.BillingRecurrence [table]
+ public.BillingRecurrence [table]
@@ -7645,7 +7501,7 @@ td.section {
- public.ClaimsEntry [table]
+ public.ClaimsEntry [table]
@@ -7731,7 +7587,7 @@ td.section {
- public.ClaimsList [table]
+ public.ClaimsList [table]
@@ -7812,7 +7668,7 @@ td.section {
- public.Contact [table]
+ public.Contact [table]
@@ -8343,7 +8199,7 @@ td.section {
- public.ContactHistory [table]
+ public.ContactHistory [table]
@@ -8831,7 +8687,7 @@ td.section {
- public."Cursor" [table]
+ public."Cursor" [table]
@@ -8904,7 +8760,7 @@ td.section {
- public.DatabaseMigrationStateSchedule [table]
+ public.DatabaseMigrationStateSchedule [table]
@@ -8969,7 +8825,7 @@ td.section {
- public.DelegationSignerData [table]
+ public.DelegationSignerData [table]
@@ -9107,7 +8963,7 @@ td.section {
- public.Domain [table]
+ public.Domain [table]
@@ -9340,36 +9196,16 @@ td.section {
autorenew_end_time
timestamptz
-
-
- billing_recurrence_history_id
- int8
-
autorenew_poll_message_history_id
int8
-
-
- deletion_poll_message_history_id
- int8
-
-
-
- transfer_billing_recurrence_history_id
- int8
-
transfer_autorenew_poll_message_history_id
int8
-
-
- transfer_billing_event_history_id
- int8
-
transfer_history_entry_id
@@ -9385,11 +9221,6 @@ td.section {
transfer_poll_message_id_3
int8
-
-
- transfer_billing_cancellation_history_id
- int8
-
dns_refresh_request_time
@@ -9849,7 +9680,7 @@ td.section {
- public.DomainDsDataHistory [table]
+ public.DomainDsDataHistory [table]
@@ -9967,7 +9798,7 @@ td.section {
- public.DomainHistory [table]
+ public.DomainHistory [table]
@@ -10265,36 +10096,16 @@ td.section {
history_period_value
int4
-
-
- billing_recurrence_history_id
- int8
-
autorenew_poll_message_history_id
int8
-
-
- deletion_poll_message_history_id
- int8
-
-
-
- transfer_billing_recurrence_history_id
- int8
-
transfer_autorenew_poll_message_history_id
int8
-
-
- transfer_billing_event_history_id
- int8
-
transfer_history_entry_id
@@ -10310,11 +10121,6 @@ td.section {
transfer_poll_message_id_3
int8
-
-
- transfer_billing_cancellation_history_id
- int8
-
dns_refresh_request_time
@@ -10601,7 +10407,7 @@ td.section {
- public.DomainHistoryHost [table]
+ public.DomainHistoryHost [table]
@@ -10674,7 +10480,7 @@ td.section {
- public.DomainHost [table]
+ public.DomainHost [table]
@@ -10756,7 +10562,7 @@ td.section {
- public.DomainTransactionRecord [table]
+ public.DomainTransactionRecord [table]
@@ -10891,7 +10697,7 @@ td.section {
- public.GracePeriod [table]
+ public.GracePeriod [table]
@@ -10929,26 +10735,6 @@ td.section {
type
text not null
-
-
- billing_event_history_id
- int8
-
-
-
- billing_recurrence_history_id
- int8
-
-
-
- billing_event_domain_repo_id
- text
-
-
-
- billing_recurrence_domain_repo_id
- text
-
@@ -11079,7 +10865,7 @@ td.section {
- public.GracePeriodHistory [table]
+ public.GracePeriodHistory [table]
@@ -11092,21 +10878,11 @@ td.section {
billing_event_id
int8
-
-
- billing_event_history_id
- int8
-
billing_recurrence_id
int8
-
-
- billing_recurrence_history_id
- int8
-
registrar_id
@@ -11137,16 +10913,6 @@ td.section {
grace_period_id
int8 not null
-
-
- billing_event_domain_repo_id
- text
-
-
-
- billing_recurrence_domain_repo_id
- text
-
@@ -11222,7 +10988,7 @@ td.section {
- public.Host [table]
+ public.Host [table]
@@ -11490,7 +11256,7 @@ td.section {
- public.HostHistory [table]
+ public.HostHistory [table]
@@ -11775,7 +11541,7 @@ td.section {
- public.Lock [table]
+ public.Lock [table]
@@ -11853,7 +11619,7 @@ td.section {
- public.PollMessage [table]
+ public.PollMessage [table]
@@ -12184,7 +11950,7 @@ td.section {
- public.PremiumEntry [table]
+ public.PremiumEntry [table]
@@ -12270,7 +12036,7 @@ td.section {
- public.PremiumList [table]
+ public.PremiumList [table]
@@ -12373,7 +12139,7 @@ td.section {
- public.RdeRevision [table]
+ public.RdeRevision [table]
@@ -12461,7 +12227,7 @@ td.section {
- public.Registrar [table]
+ public.Registrar [table]
@@ -13052,7 +12818,7 @@ td.section {
- public.RegistrarPoc [table]
+ public.RegistrarPoc [table]
@@ -13205,7 +12971,7 @@ td.section {
- public.RegistryLock [table]
+ public.RegistryLock [table]
@@ -13382,7 +13148,7 @@ td.section {
- public.ReservedEntry [table]
+ public.ReservedEntry [table]
@@ -13473,7 +13239,7 @@ td.section {
- public.ReservedList [table]
+ public.ReservedList [table]
@@ -13571,7 +13337,7 @@ td.section {
- public.ServerSecret [table]
+ public.ServerSecret [table]
@@ -13624,7 +13390,7 @@ td.section {
- public.SignedMarkRevocationEntry [table]
+ public.SignedMarkRevocationEntry [table]
@@ -13710,7 +13476,7 @@ td.section {
- public.SignedMarkRevocationList [table]
+ public.SignedMarkRevocationList [table]
@@ -13786,7 +13552,7 @@ td.section {
- public.Spec11ThreatMatch [table]
+ public.Spec11ThreatMatch [table]
@@ -13905,7 +13671,7 @@ td.section {
- public.SqlReplayCheckpoint [table]
+ public.SqlReplayCheckpoint [table]
@@ -13958,7 +13724,7 @@ td.section {
- public.Tld [table]
+ public.Tld [table]
@@ -14221,7 +13987,7 @@ td.section {
- public.TmchCrl [table]
+ public.TmchCrl [table]
@@ -14284,7 +14050,7 @@ td.section {
- public.Transaction [table]
+ public.Transaction [table]
diff --git a/db/src/main/resources/sql/flyway.txt b/db/src/main/resources/sql/flyway.txt
index 298caef1c..b2ba68320 100644
--- a/db/src/main/resources/sql/flyway.txt
+++ b/db/src/main/resources/sql/flyway.txt
@@ -117,3 +117,4 @@ V116__add_renewal_column_to_allocation_token.sql
V117__add_billing_recurrence_last_expansion_column.sql
V118__drop_billing_identifier_column_from_registrar.sql
V119__token_registration_behavior.sql
+V120__remove_ofy_key_fields.sql
diff --git a/db/src/main/resources/sql/flyway/V120__remove_ofy_key_fields.sql b/db/src/main/resources/sql/flyway/V120__remove_ofy_key_fields.sql
new file mode 100644
index 000000000..87d1317c0
--- /dev/null
+++ b/db/src/main/resources/sql/flyway/V120__remove_ofy_key_fields.sql
@@ -0,0 +1,35 @@
+-- Copyright 2022 The Nomulus Authors. All Rights Reserved.
+--
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+
+alter table "Domain" drop column billing_recurrence_history_id;
+alter table "Domain" drop column deletion_poll_message_history_id;
+alter table "Domain" drop column transfer_billing_cancellation_history_id;
+alter table "Domain" drop column transfer_billing_recurrence_history_id;
+alter table "Domain" drop column transfer_billing_event_history_id;
+
+alter table "DomainHistory" drop column billing_recurrence_history_id;
+alter table "DomainHistory" drop column deletion_poll_message_history_id;
+alter table "DomainHistory" drop column transfer_billing_cancellation_history_id;
+alter table "DomainHistory" drop column transfer_billing_recurrence_history_id;
+alter table "DomainHistory" drop column transfer_billing_event_history_id;
+
+alter table "GracePeriod" drop column billing_event_history_id;
+alter table "GracePeriod" drop column billing_event_domain_repo_id;
+alter table "GracePeriod" drop column billing_recurrence_history_id;
+alter table "GracePeriod" drop column billing_recurrence_domain_repo_id;
+
+alter table "GracePeriodHistory" drop column billing_event_history_id;
+alter table "GracePeriodHistory" drop column billing_event_domain_repo_id;
+alter table "GracePeriodHistory" drop column billing_recurrence_history_id;
+alter table "GracePeriodHistory" drop column billing_recurrence_domain_repo_id;
diff --git a/db/src/main/resources/sql/schema/nomulus.golden.sql b/db/src/main/resources/sql/schema/nomulus.golden.sql
index 9a7b1aed8..6c4987855 100644
--- a/db/src/main/resources/sql/schema/nomulus.golden.sql
+++ b/db/src/main/resources/sql/schema/nomulus.golden.sql
@@ -395,16 +395,11 @@ CREATE TABLE public."Domain" (
autorenew_poll_message_id bigint,
deletion_poll_message_id bigint,
autorenew_end_time timestamp with time zone,
- billing_recurrence_history_id bigint,
autorenew_poll_message_history_id bigint,
- deletion_poll_message_history_id bigint,
- transfer_billing_recurrence_history_id bigint,
transfer_autorenew_poll_message_history_id bigint,
- transfer_billing_event_history_id bigint,
transfer_history_entry_id bigint,
transfer_repo_id text,
transfer_poll_message_id_3 bigint,
- transfer_billing_cancellation_history_id bigint,
dns_refresh_request_time timestamp with time zone
);
@@ -488,16 +483,11 @@ CREATE TABLE public."DomainHistory" (
history_other_registrar_id text,
history_period_unit text,
history_period_value integer,
- billing_recurrence_history_id bigint,
autorenew_poll_message_history_id bigint,
- deletion_poll_message_history_id bigint,
- transfer_billing_recurrence_history_id bigint,
transfer_autorenew_poll_message_history_id bigint,
- transfer_billing_event_history_id bigint,
transfer_history_entry_id bigint,
transfer_repo_id text,
transfer_poll_message_id_3 bigint,
- transfer_billing_cancellation_history_id bigint,
dns_refresh_request_time timestamp with time zone
);
@@ -568,11 +558,7 @@ CREATE TABLE public."GracePeriod" (
registrar_id text NOT NULL,
domain_repo_id text NOT NULL,
expiration_time timestamp with time zone NOT NULL,
- type text NOT NULL,
- billing_event_history_id bigint,
- billing_recurrence_history_id bigint,
- billing_event_domain_repo_id text,
- billing_recurrence_domain_repo_id text
+ type text NOT NULL
);
@@ -583,17 +569,13 @@ CREATE TABLE public."GracePeriod" (
CREATE TABLE public."GracePeriodHistory" (
grace_period_history_revision_id bigint NOT NULL,
billing_event_id bigint,
- billing_event_history_id bigint,
billing_recurrence_id bigint,
- billing_recurrence_history_id bigint,
registrar_id text NOT NULL,
domain_repo_id text NOT NULL,
expiration_time timestamp with time zone NOT NULL,
type text NOT NULL,
domain_history_revision_id bigint,
- grace_period_id bigint NOT NULL,
- billing_event_domain_repo_id text,
- billing_recurrence_domain_repo_id text
+ grace_period_id bigint NOT NULL
);