diff --git a/core/src/main/java/google/registry/model/common/DatabaseMigrationStateSchedule.java b/core/src/main/java/google/registry/model/common/DatabaseMigrationStateSchedule.java new file mode 100644 index 000000000..a99a873a1 --- /dev/null +++ b/core/src/main/java/google/registry/model/common/DatabaseMigrationStateSchedule.java @@ -0,0 +1,272 @@ +// Copyright 2021 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. + +package google.registry.model.common; + +import static com.google.common.base.Preconditions.checkArgument; +import static google.registry.persistence.transaction.TransactionManagerFactory.jpaTm; +import static google.registry.util.DateTimeUtils.START_OF_TIME; + +import com.github.benmanes.caffeine.cache.LoadingCache; +import com.google.common.annotations.VisibleForTesting; +import com.google.common.collect.ImmutableMultimap; +import com.google.common.collect.ImmutableSortedMap; +import com.google.common.flogger.FluentLogger; +import google.registry.config.RegistryEnvironment; +import google.registry.model.CacheUtils; +import google.registry.model.annotations.DeleteAfterMigration; +import google.registry.model.common.TimedTransitionProperty.TimedTransition; +import java.time.Duration; +import java.util.Arrays; +import javax.persistence.Entity; +import javax.persistence.PersistenceException; +import org.joda.time.DateTime; + +/** + * A wrapper object representing the stage-to-time mapping of the Registry 3.0 Cloud SQL migration. + * + *

The entity is stored in SQL throughout the entire migration so as to have a single point of + * access. + */ +@DeleteAfterMigration +@Entity +public class DatabaseMigrationStateSchedule extends CrossTldSingleton { + + private static final FluentLogger logger = FluentLogger.forEnclosingClass(); + + public enum PrimaryDatabase { + CLOUD_SQL, + DATASTORE + } + + public enum ReplayDirection { + NO_REPLAY, + DATASTORE_TO_SQL, + SQL_TO_DATASTORE + } + + /** + * The current phase of the migration plus information about which database to use and whether or + * not the phase is read-only. + */ + public enum MigrationState { + /** Datastore is the only DB being used. */ + DATASTORE_ONLY(PrimaryDatabase.DATASTORE, false, ReplayDirection.NO_REPLAY), + + /** Datastore is the primary DB, with changes replicated to Cloud SQL. */ + DATASTORE_PRIMARY(PrimaryDatabase.DATASTORE, false, ReplayDirection.DATASTORE_TO_SQL), + + /** Datastore is the primary DB, with replication, and async actions are disallowed. */ + DATASTORE_PRIMARY_NO_ASYNC(PrimaryDatabase.DATASTORE, false, ReplayDirection.DATASTORE_TO_SQL), + + /** Datastore is the primary DB, with replication, and all mutating actions are disallowed. */ + DATASTORE_PRIMARY_READ_ONLY(PrimaryDatabase.DATASTORE, true, ReplayDirection.DATASTORE_TO_SQL), + + /** + * Cloud SQL is the primary DB, with replication back to Datastore, and all mutating actions are + * disallowed. + */ + SQL_PRIMARY_READ_ONLY(PrimaryDatabase.CLOUD_SQL, true, ReplayDirection.SQL_TO_DATASTORE), + + /** Cloud SQL is the primary DB, with changes replicated to Datastore. */ + SQL_PRIMARY(PrimaryDatabase.CLOUD_SQL, false, ReplayDirection.SQL_TO_DATASTORE), + + /** Cloud SQL is the only DB being used. */ + SQL_ONLY(PrimaryDatabase.CLOUD_SQL, false, ReplayDirection.NO_REPLAY); + + private final PrimaryDatabase primaryDatabase; + private final boolean isReadOnly; + private final ReplayDirection replayDirection; + + public PrimaryDatabase getPrimaryDatabase() { + return primaryDatabase; + } + + public boolean isReadOnly() { + return isReadOnly; + } + + public ReplayDirection getReplayDirection() { + return replayDirection; + } + + MigrationState( + PrimaryDatabase primaryDatabase, boolean isReadOnly, ReplayDirection replayDirection) { + this.primaryDatabase = primaryDatabase; + this.isReadOnly = isReadOnly; + this.replayDirection = replayDirection; + } + } + + public static class MigrationStateTransition extends TimedTransition { + private MigrationState migrationState; + + @Override + public MigrationState getValue() { + return migrationState; + } + + @Override + protected void setValue(MigrationState migrationState) { + this.migrationState = migrationState; + } + } + + /** + * Cache of the current migration schedule. The key is meaningless; this is essentially a memoized + * Supplier that can be reset for testing purposes and after writes. + */ + @VisibleForTesting + public static final LoadingCache< + Class, + TimedTransitionProperty> + // Each instance should cache the migration schedule for five minutes before reloading + CACHE = + CacheUtils.newCacheBuilder(Duration.ofMinutes(5)) + .build(singletonClazz -> DatabaseMigrationStateSchedule.getUncached()); + + // Restrictions on the state transitions, e.g. no going from DATASTORE_ONLY to SQL_ONLY + private static final ImmutableMultimap VALID_STATE_TRANSITIONS = + createValidStateTransitions(); + + /** + * The valid state transitions. Generally, one can advance the state one step or move backward any + * number of steps, as long as the step we're moving back to has the same primary database as the + * one we're in. Otherwise, we must move to the corresponding READ_ONLY stage first. + */ + private static ImmutableMultimap createValidStateTransitions() { + ImmutableMultimap.Builder builder = + new ImmutableMultimap.Builder() + .put(MigrationState.DATASTORE_ONLY, MigrationState.DATASTORE_PRIMARY) + .putAll( + MigrationState.DATASTORE_PRIMARY, + MigrationState.DATASTORE_ONLY, + MigrationState.DATASTORE_PRIMARY_NO_ASYNC) + .putAll( + MigrationState.DATASTORE_PRIMARY_NO_ASYNC, + MigrationState.DATASTORE_ONLY, + MigrationState.DATASTORE_PRIMARY, + MigrationState.DATASTORE_PRIMARY_READ_ONLY) + .putAll( + MigrationState.DATASTORE_PRIMARY_READ_ONLY, + MigrationState.DATASTORE_ONLY, + MigrationState.DATASTORE_PRIMARY, + MigrationState.DATASTORE_PRIMARY_NO_ASYNC, + MigrationState.SQL_PRIMARY_READ_ONLY, + MigrationState.SQL_PRIMARY) + .putAll( + MigrationState.SQL_PRIMARY_READ_ONLY, + MigrationState.DATASTORE_PRIMARY_READ_ONLY, + MigrationState.SQL_PRIMARY) + .putAll( + MigrationState.SQL_PRIMARY, + MigrationState.SQL_PRIMARY_READ_ONLY, + MigrationState.SQL_ONLY) + .putAll( + MigrationState.SQL_ONLY, + MigrationState.SQL_PRIMARY_READ_ONLY, + MigrationState.SQL_PRIMARY); + + // In addition, we can always transition from a state to itself (useful when updating the map). + Arrays.stream(MigrationState.values()).forEach(state -> builder.put(state, state)); + return builder.build(); + } + + // Default map to return if we have never saved any -- only use Datastore. + @VisibleForTesting + public static final TimedTransitionProperty + DEFAULT_TRANSITION_MAP = + TimedTransitionProperty.fromValueMap( + ImmutableSortedMap.of(START_OF_TIME, MigrationState.DATASTORE_ONLY), + MigrationStateTransition.class); + + @VisibleForTesting + public TimedTransitionProperty migrationTransitions = + TimedTransitionProperty.forMapify( + MigrationState.DATASTORE_ONLY, MigrationStateTransition.class); + + // Required for Objectify initialization + private DatabaseMigrationStateSchedule() {} + + @VisibleForTesting + public DatabaseMigrationStateSchedule( + TimedTransitionProperty migrationTransitions) { + this.migrationTransitions = migrationTransitions; + } + + /** Sets and persists to SQL the provided migration transition schedule. */ + public static void set(ImmutableSortedMap migrationTransitionMap) { + jpaTm().assertInTransaction(); + TimedTransitionProperty transitions = + TimedTransitionProperty.make( + migrationTransitionMap, + MigrationStateTransition.class, + VALID_STATE_TRANSITIONS, + "validStateTransitions", + MigrationState.DATASTORE_ONLY, + "migrationTransitionMap must start with DATASTORE_ONLY"); + validateTransitionAtCurrentTime(transitions); + jpaTm().putWithoutBackup(new DatabaseMigrationStateSchedule(transitions)); + CACHE.invalidateAll(); + } + + /** Loads the currently-set migration schedule from the cache, or the default if none exists. */ + public static TimedTransitionProperty get() { + return CACHE.get(DatabaseMigrationStateSchedule.class); + } + + /** Returns the database migration status at the given time. */ + public static MigrationState getValueAtTime(DateTime dateTime) { + return get().getValueAtTime(dateTime); + } + + /** Loads the currently-set migration schedule from SQL, or the default if none exists. */ + @VisibleForTesting + static TimedTransitionProperty getUncached() { + return jpaTm() + .transactWithoutBackup( + () -> { + try { + return jpaTm() + .loadSingleton(DatabaseMigrationStateSchedule.class) + .map(s -> s.migrationTransitions) + .orElse(DEFAULT_TRANSITION_MAP); + } catch (PersistenceException e) { + if (!RegistryEnvironment.get().equals(RegistryEnvironment.UNITTEST)) { + throw e; + } + logger.atWarning().withCause(e).log( + "Error when retrieving migration schedule; this should only happen in tests."); + return DEFAULT_TRANSITION_MAP; + } + }); + } + + /** + * A provided map of transitions may be valid by itself (i.e. it shifts states properly, doesn't + * skip states, and doesn't backtrack incorrectly) while still being invalid. In addition to the + * transitions in the map being valid, the single transition from the current map at the current + * time to the new map at the current time must also be valid. + */ + private static void validateTransitionAtCurrentTime( + TimedTransitionProperty newTransitions) { + MigrationState currentValue = getUncached().getValueAtTime(jpaTm().getTransactionTime()); + MigrationState nextCurrentValue = newTransitions.getValueAtTime(jpaTm().getTransactionTime()); + checkArgument( + VALID_STATE_TRANSITIONS.get(currentValue).contains(nextCurrentValue), + "Cannot transition from current state-as-of-now %s to new state-as-of-now %s", + currentValue, + nextCurrentValue); + } +} diff --git a/core/src/main/java/google/registry/persistence/converter/DatabaseMigrationScheduleTransitionConverter.java b/core/src/main/java/google/registry/persistence/converter/DatabaseMigrationScheduleTransitionConverter.java new file mode 100644 index 000000000..70f2b5ff6 --- /dev/null +++ b/core/src/main/java/google/registry/persistence/converter/DatabaseMigrationScheduleTransitionConverter.java @@ -0,0 +1,48 @@ +// Copyright 2021 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. + +package google.registry.persistence.converter; + +import com.google.common.collect.Maps; +import google.registry.model.annotations.DeleteAfterMigration; +import google.registry.model.common.DatabaseMigrationStateSchedule; +import google.registry.model.common.DatabaseMigrationStateSchedule.MigrationState; +import google.registry.model.common.DatabaseMigrationStateSchedule.MigrationStateTransition; +import java.util.Map; +import javax.persistence.Converter; +import org.joda.time.DateTime; + +/** JPA converter for {@link DatabaseMigrationStateSchedule} transitions. */ +@DeleteAfterMigration +@Converter(autoApply = true) +public class DatabaseMigrationScheduleTransitionConverter + extends TimedTransitionPropertyConverterBase { + + @Override + Map.Entry convertToDatabaseMapEntry( + Map.Entry entry) { + return Maps.immutableEntry(entry.getKey().toString(), entry.getValue().getValue().name()); + } + + @Override + Map.Entry convertToEntityMapEntry(Map.Entry entry) { + return Maps.immutableEntry( + DateTime.parse(entry.getKey()), MigrationState.valueOf(entry.getValue())); + } + + @Override + Class getTimedTransitionSubclass() { + return MigrationStateTransition.class; + } +} diff --git a/core/src/main/resources/META-INF/persistence.xml b/core/src/main/resources/META-INF/persistence.xml index 2882e46e2..fe10bd245 100644 --- a/core/src/main/resources/META-INF/persistence.xml +++ b/core/src/main/resources/META-INF/persistence.xml @@ -42,6 +42,7 @@ google.registry.model.billing.BillingEvent$OneTime google.registry.model.billing.BillingEvent$Recurring google.registry.model.common.Cursor + google.registry.model.common.DatabaseMigrationStateSchedule google.registry.model.contact.ContactHistory google.registry.model.contact.ContactResource google.registry.model.domain.DomainBase @@ -84,6 +85,7 @@ google.registry.persistence.converter.CidrAddressBlockListConverter google.registry.persistence.converter.CurrencyToBillingConverter google.registry.persistence.converter.CurrencyUnitConverter + google.registry.persistence.converter.DatabaseMigrationScheduleTransitionConverter google.registry.persistence.converter.DateTimeConverter google.registry.persistence.converter.DurationConverter google.registry.persistence.converter.InetAddressSetConverter diff --git a/core/src/test/java/google/registry/persistence/converter/DatabaseMigrationScheduleTransitionConverterTest.java b/core/src/test/java/google/registry/persistence/converter/DatabaseMigrationScheduleTransitionConverterTest.java new file mode 100644 index 000000000..85f268ad0 --- /dev/null +++ b/core/src/test/java/google/registry/persistence/converter/DatabaseMigrationScheduleTransitionConverterTest.java @@ -0,0 +1,91 @@ +// Copyright 2021 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. + +package google.registry.persistence.converter; + +import static com.google.common.truth.Truth.assertThat; +import static google.registry.persistence.transaction.TransactionManagerFactory.jpaTm; +import static google.registry.testing.DatabaseHelper.insertInDb; +import static google.registry.util.DateTimeUtils.START_OF_TIME; + +import com.google.common.collect.ImmutableSortedMap; +import google.registry.model.ImmutableObject; +import google.registry.model.common.DatabaseMigrationStateSchedule.MigrationState; +import google.registry.model.common.DatabaseMigrationStateSchedule.MigrationStateTransition; +import google.registry.model.common.TimedTransitionProperty; +import google.registry.persistence.transaction.JpaTestExtensions; +import google.registry.persistence.transaction.JpaTestExtensions.JpaUnitTestExtension; +import javax.persistence.Entity; +import javax.persistence.Id; +import org.joda.time.DateTime; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.RegisterExtension; + +/** Unit tests for {@link DatabaseMigrationScheduleTransitionConverter}. */ +public class DatabaseMigrationScheduleTransitionConverterTest { + + @RegisterExtension + public final JpaUnitTestExtension jpa = + new JpaTestExtensions.Builder() + .withEntityClass(DatabaseMigrationScheduleTransitionConverterTestEntity.class) + .buildUnitTestExtension(); + + private static final ImmutableSortedMap values = + ImmutableSortedMap.of( + START_OF_TIME, + MigrationState.DATASTORE_ONLY, + DateTime.parse("2001-01-01T00:00:00.0Z"), + MigrationState.DATASTORE_PRIMARY, + DateTime.parse("2002-01-01T01:00:00.0Z"), + MigrationState.DATASTORE_PRIMARY_NO_ASYNC, + DateTime.parse("2002-01-01T02:00:00.0Z"), + MigrationState.DATASTORE_PRIMARY_READ_ONLY, + DateTime.parse("2002-01-02T00:00:00.0Z"), + MigrationState.SQL_PRIMARY, + DateTime.parse("2002-01-03T00:00:00.0Z"), + MigrationState.SQL_ONLY); + + @Test + void roundTripConversion_returnsSameTimedTransitionProperty() { + TimedTransitionProperty timedTransitionProperty = + TimedTransitionProperty.fromValueMap(values, MigrationStateTransition.class); + DatabaseMigrationScheduleTransitionConverterTestEntity testEntity = + new DatabaseMigrationScheduleTransitionConverterTestEntity(timedTransitionProperty); + insertInDb(testEntity); + DatabaseMigrationScheduleTransitionConverterTestEntity persisted = + jpaTm() + .transact( + () -> + jpaTm() + .getEntityManager() + .find(DatabaseMigrationScheduleTransitionConverterTestEntity.class, "id")); + assertThat(persisted.timedTransitionProperty).containsExactlyEntriesIn(timedTransitionProperty); + } + + @Entity + private static class DatabaseMigrationScheduleTransitionConverterTestEntity + extends ImmutableObject { + + @Id String name = "id"; + + TimedTransitionProperty timedTransitionProperty; + + private DatabaseMigrationScheduleTransitionConverterTestEntity() {} + + private DatabaseMigrationScheduleTransitionConverterTestEntity( + TimedTransitionProperty timedTransitionProperty) { + this.timedTransitionProperty = timedTransitionProperty; + } + } +} diff --git a/core/src/test/java/google/registry/persistence/transaction/JpaEntityCoverageExtension.java b/core/src/test/java/google/registry/persistence/transaction/JpaEntityCoverageExtension.java index 1c865bf36..e1745ad61 100644 --- a/core/src/test/java/google/registry/persistence/transaction/JpaEntityCoverageExtension.java +++ b/core/src/test/java/google/registry/persistence/transaction/JpaEntityCoverageExtension.java @@ -41,6 +41,11 @@ public class JpaEntityCoverageExtension implements BeforeEachCallback, AfterEach private static final ImmutableSet IGNORE_ENTITIES = ImmutableSet.of( + // DatabaseMigrationStateSchedule is persisted in tests, however any test that sets it + // needs to remove it in order to avoid affecting any other tests running in the same JVM. + // TODO(gbrodman): remove this when we implement proper read-only modes for the + // transaction managers. + "DatabaseMigrationStateSchedule", // TransactionEntity is trivial; its persistence is tested in TransactionTest. "TransactionEntity"); 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 e321f01ca..b5ad2f174 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 @@ -1,9 +1,9 @@ - - - SchemaCrawler Output - - + + + SchemaCrawler Output + + + - - -

 

-

System Information

- + + +

 

+

System Information

+
- - - - - - - - + + + + + + + + - + -
generated bySchemaCrawler 16.10.1
generated on2022-06-29 03:21:32.642396
generated bySchemaCrawler 16.10.1
generated on2022-06-01 19:28:09.351103
last flyway fileV119__drop_database_migration_schedule.sqlV118__drop_billing_identifier_column_from_registrar.sql
-

 

-

 

- + +

 

+

 

+ SchemaCrawler_Diagram - - + + generated by - + SchemaCrawler 16.10.1 - + generated on - - 2022-06-29 03:21:32.642396 + + 2022-06-01 19:28:09.351103 - - - allocationtoken_a08ccbef - + + + allocationtoken_a08ccbef + public.AllocationToken - - + + [table] - + token - + - + text not null - + domain_name - + - + text - + redemption_domain_repo_id - + - + text - + token_type - + - + text - - + + - - billingevent_a57d1815 - + + billingevent_a57d1815 + public.BillingEvent - - + + [table] - + billing_event_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 - + allocation_token - + - + text - + billing_time - + - + timestamptz - + cancellation_matching_billing_recurrence_id - + - + int8 - + synthetic_creation_time - + - + timestamptz - + recurrence_history_revision_id - + - + int8 - - + + - - billingevent_a57d1815:w->allocationtoken_a08ccbef:e - - - - - - - + + billingevent_a57d1815:w->allocationtoken_a08ccbef:e + + + + + + + fk_billing_event_allocation_token - + - - billingrecurrence_5fa2cb01 - + + 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 - - - - - - - + + billingevent_a57d1815:w->billingrecurrence_5fa2cb01:e + + + + + + + fk_billing_event_cancellation_matching_billing_recurrence_id - + - - domainhistory_a54cc226 - + + 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 - - + + - - billingevent_a57d1815:w->domainhistory_a54cc226:e - - - - - - - + + billingevent_a57d1815:w->domainhistory_a54cc226:e + + + + + + + fk_billing_event_domain_history - + - - billingevent_a57d1815:w->domainhistory_a54cc226:e - - - - - - - + + billingevent_a57d1815:w->domainhistory_a54cc226:e + + + + + + + fk_billing_event_domain_history - + - - billingevent_a57d1815:w->domainhistory_a54cc226:e - - - - - - - + + billingevent_a57d1815:w->domainhistory_a54cc226:e + + + + + + + fk_billing_event_recurrence_history - + - - billingevent_a57d1815:w->domainhistory_a54cc226:e - - - - - - - + + billingevent_a57d1815:w->domainhistory_a54cc226:e + + + + + + + fk_billing_event_recurrence_history - + - - registrar_6e1503e3 - + + registrar_6e1503e3 + public.Registrar - - + + [table] - + registrar_id - + - + text not null - + iana_identifier - + - + int8 - + registrar_name - + - + text not null - - + + - - billingevent_a57d1815:w->registrar_6e1503e3:e - - - - - - - + + billingevent_a57d1815:w->registrar_6e1503e3:e + + + + + + + fk_billing_event_registrar_id - + - - billingcancellation_6eedf614 - - + + 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 - - + + billing_time - - - - + + + + timestamptz - - + + billing_event_id - - - - + + + + int8 - - + + billing_recurrence_id - - - - + + + + int8 - - + + - - billingcancellation_6eedf614:w->billingevent_a57d1815:e - - - - - - - - + + billingcancellation_6eedf614:w->billingevent_a57d1815:e + + + + + + + + fk_billing_cancellation_billing_event_id - + - - billingcancellation_6eedf614:w->billingrecurrence_5fa2cb01:e - - - - - - - - + + billingcancellation_6eedf614:w->billingrecurrence_5fa2cb01:e + + + + + + + + fk_billing_cancellation_billing_recurrence_id - + - - billingcancellation_6eedf614:w->domainhistory_a54cc226:e - - - - - - - - + + billingcancellation_6eedf614:w->domainhistory_a54cc226:e + + + + + + + + fk_billing_cancellation_domain_history - + - - billingcancellation_6eedf614:w->domainhistory_a54cc226:e - - - - - - - + + billingcancellation_6eedf614:w->domainhistory_a54cc226:e + + + + + + + fk_billing_cancellation_domain_history - + - - billingcancellation_6eedf614:w->registrar_6e1503e3:e - - - - - - - + + billingcancellation_6eedf614:w->registrar_6e1503e3:e + + + + + + + fk_billing_cancellation_registrar_id - + - - domain_6c51cffa - + + 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 - + domain_name - + - + text - + tld - + - + text - + admin_contact - + - + text - + billing_contact - + - + text - + registrant_contact - + - + text - + tech_contact - + - + text - + transfer_billing_cancellation_id - + - + int8 - + transfer_billing_event_id - + - + int8 - + transfer_billing_recurrence_id - + - + int8 - + transfer_gaining_registrar_id - + - + text - + transfer_losing_registrar_id - + - + text - + billing_recurrence_id - + - + int8 - + autorenew_end_time - + - + timestamptz - + dns_refresh_request_time - + - + timestamptz - - + + - - domain_6c51cffa:w->billingevent_a57d1815:e - - - - - - - + + domain_6c51cffa:w->billingevent_a57d1815:e + + + + + + + fk_domain_transfer_billing_event_id - + - - domain_6c51cffa:w->billingcancellation_6eedf614:e - - - - - - - + + domain_6c51cffa:w->billingcancellation_6eedf614:e + + + + + + + fk_domain_transfer_billing_cancellation_id - + - - domain_6c51cffa:w->billingrecurrence_5fa2cb01:e - - - - - - - + + domain_6c51cffa:w->billingrecurrence_5fa2cb01:e + + + + + + + fk_domain_billing_recurrence_id - + - - domain_6c51cffa:w->billingrecurrence_5fa2cb01:e - - - - - - - + + domain_6c51cffa:w->billingrecurrence_5fa2cb01:e + + + + + + + fk_domain_transfer_billing_recurrence_id - + - - contact_8de8cb16 - + + 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 - + contact_id - + - + text - + search_name - + - + text - + transfer_gaining_registrar_id - + - + text - + transfer_losing_registrar_id - + - + text - - + + - - domain_6c51cffa:w->contact_8de8cb16:e - - - - - - - + + domain_6c51cffa:w->contact_8de8cb16:e + + + + + + + fk_domain_admin_contact - + - - domain_6c51cffa:w->contact_8de8cb16:e - - - - - - - + + domain_6c51cffa:w->contact_8de8cb16:e + + + + + + + fk_domain_billing_contact - + - - domain_6c51cffa:w->contact_8de8cb16:e - - - - - - - + + domain_6c51cffa:w->contact_8de8cb16:e + + + + + + + fk_domain_registrant_contact - + - - domain_6c51cffa:w->contact_8de8cb16:e - - - - - - - + + domain_6c51cffa:w->contact_8de8cb16:e + + + + + + + fk_domain_tech_contact - + - - domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - + + domain_6c51cffa:w->registrar_6e1503e3:e + + + + + + + fk2jc69qyg2tv9hhnmif6oa1cx1 - + - - domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - + + domain_6c51cffa:w->registrar_6e1503e3:e + + + + + + + fk2u3srsfbei272093m3b3xwj23 - + - - domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - + + domain_6c51cffa:w->registrar_6e1503e3:e + + + + + + + fkjc0r9r5y1lfbt4gpbqw4wsuvq - + - - domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - + + domain_6c51cffa:w->registrar_6e1503e3:e + + + + + + + fk_domain_transfer_gaining_registrar_id - + - - domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - + + domain_6c51cffa:w->registrar_6e1503e3:e + + + + + + + fk_domain_transfer_losing_registrar_id - + - - tld_f1fa57e2 - + + tld_f1fa57e2 + public.Tld - - + + [table] - + tld_name - + - + text not null - - + + - - domain_6c51cffa:w->tld_f1fa57e2:e - - - - - - - + + domain_6c51cffa:w->tld_f1fa57e2:e + + + + + + + fk_domain_tld - + - - graceperiod_cd3b2e8f - - + + 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 - - + + - - graceperiod_cd3b2e8f:w->billingevent_a57d1815:e - - - - - - - - + + graceperiod_cd3b2e8f:w->billingevent_a57d1815:e + + + + + + + + fk_grace_period_billing_event_id - + - - graceperiod_cd3b2e8f:w->domain_6c51cffa:e - - - - - - - + + graceperiod_cd3b2e8f:w->domain_6c51cffa:e + + + + + + + fk_grace_period_domain_repo_id - + - - graceperiod_cd3b2e8f:w->billingrecurrence_5fa2cb01:e - - - - - - - - + + graceperiod_cd3b2e8f:w->billingrecurrence_5fa2cb01:e + + + + + + + + fk_grace_period_billing_recurrence_id - + - - graceperiod_cd3b2e8f:w->registrar_6e1503e3:e - - - - - - - + + graceperiod_cd3b2e8f:w->registrar_6e1503e3:e + + + + + + + fk_grace_period_registrar_id - + - - billingrecurrence_5fa2cb01:w->domainhistory_a54cc226:e - - - - - - - + + billingrecurrence_5fa2cb01:w->domainhistory_a54cc226:e + + + + + + + fk_billing_recurrence_domain_history - + - - billingrecurrence_5fa2cb01:w->domainhistory_a54cc226:e - - - - - - - + + billingrecurrence_5fa2cb01:w->domainhistory_a54cc226:e + + + + + + + fk_billing_recurrence_domain_history - + - - billingrecurrence_5fa2cb01:w->registrar_6e1503e3:e - - - - - - - + + billingrecurrence_5fa2cb01:w->registrar_6e1503e3:e + + + + + + + fk_billing_recurrence_registrar_id - + - - claimsentry_105da9f1 - - + + claimsentry_105da9f1 + + public.ClaimsEntry - - - + + + [table] - - + + revision_id - - - - + + + + int8 not null - - + + domain_label - - - - + + + + text not null - - + + - - claimslist_3d49bc2b - + + claimslist_3d49bc2b + public.ClaimsList - - + + [table] - + revision_id - + - + bigserial not null - + - + auto-incremented - - + + - - claimsentry_105da9f1:w->claimslist_3d49bc2b:e - - - - - - - + + claimsentry_105da9f1:w->claimslist_3d49bc2b:e + + + + + + + fk6sc6at5hedffc0nhdcab6ivuq - + - - contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - + + contact_8de8cb16:w->registrar_6e1503e3:e + + + + + + + fk1sfyj7o7954prbn1exk7lpnoe - + - - contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - + + contact_8de8cb16:w->registrar_6e1503e3:e + + + + + + + fk93c185fx7chn68uv7nl6uv2s0 - + - - contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - + + contact_8de8cb16:w->registrar_6e1503e3:e + + + + + + + fkmb7tdiv85863134w1wogtxrb2 - + - - contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - + + contact_8de8cb16:w->registrar_6e1503e3:e + + + + + + + fk_contact_transfer_gaining_registrar_id - + - - contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - + + contact_8de8cb16:w->registrar_6e1503e3:e + + + + + + + fk_contact_transfer_losing_registrar_id - + - - contacthistory_d2964f8a - + + contacthistory_d2964f8a + public.ContactHistory - - + + [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 - + contact_repo_id - + - + text not null - - + + - - contacthistory_d2964f8a:w->contact_8de8cb16:e - - - - - - - + + contacthistory_d2964f8a:w->contact_8de8cb16:e + + + + + + + fk_contact_history_contact_repo_id - + - - contacthistory_d2964f8a:w->registrar_6e1503e3:e - - - - - - - + + contacthistory_d2964f8a:w->registrar_6e1503e3:e + + + + + + + fk_contact_history_registrar_id - + - - pollmessage_614a523e - + + pollmessage_614a523e + public.PollMessage - - + + [table] - + poll_message_id - + - + int8 not null - + registrar_id - + - + text not null - + contact_repo_id - + - + text - + contact_history_revision_id - + - + int8 - + domain_repo_id - + - + text - + domain_history_revision_id - + - + int8 - + event_time - + - + timestamptz not null - + host_repo_id - + - + text - + host_history_revision_id - + - + int8 - + transfer_response_gaining_registrar_id - + - + text - + transfer_response_losing_registrar_id - + - + text - - + + - - pollmessage_614a523e:w->domain_6c51cffa:e - - - - - - - + + pollmessage_614a523e:w->domain_6c51cffa:e + + + + + + + fk_poll_message_domain_repo_id - + - - pollmessage_614a523e:w->contact_8de8cb16:e - - - - - - - + + pollmessage_614a523e:w->contact_8de8cb16:e + + + + + + + fk_poll_message_contact_repo_id - + - - pollmessage_614a523e:w->contacthistory_d2964f8a:e - - - - - - - + + pollmessage_614a523e:w->contacthistory_d2964f8a:e + + + + + + + fk_poll_message_contact_history - + - - pollmessage_614a523e:w->contacthistory_d2964f8a:e - - - - - - - + + pollmessage_614a523e:w->contacthistory_d2964f8a:e + + + + + + + fk_poll_message_contact_history - + - - pollmessage_614a523e:w->domainhistory_a54cc226:e - - - - - - - + + pollmessage_614a523e:w->domainhistory_a54cc226:e + + + + + + + fk_poll_message_domain_history - + - - pollmessage_614a523e:w->domainhistory_a54cc226:e - - - - - - - + + pollmessage_614a523e:w->domainhistory_a54cc226:e + + + + + + + fk_poll_message_domain_history - + - - host_f21b78de - + + 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 - + host_name - + - + text - + superordinate_domain - + - + text - + inet_addresses - + - + _text - - + + - - pollmessage_614a523e:w->host_f21b78de:e - - - - - - - + + pollmessage_614a523e:w->host_f21b78de:e + + + + + + + fk_poll_message_host_repo_id - + - - hosthistory_56210c2 - + + hosthistory_56210c2 + public.HostHistory - - + + [table] - + history_revision_id - + - + int8 not null - + history_registrar_id - + - + text not null - + history_modification_time - + - + timestamptz not null - + history_type - + - + text not null - + host_name - + - + text - + creation_time - + - + timestamptz - + host_repo_id - + - + text not null - - + + - - pollmessage_614a523e:w->hosthistory_56210c2:e - - - - - - - + + pollmessage_614a523e:w->hosthistory_56210c2:e + + + + + + + fk_poll_message_host_history - + - - pollmessage_614a523e:w->hosthistory_56210c2:e - - - - - - - + + pollmessage_614a523e:w->hosthistory_56210c2:e + + + + + + + fk_poll_message_host_history - + - - pollmessage_614a523e:w->registrar_6e1503e3:e - - - - - - - + + pollmessage_614a523e:w->registrar_6e1503e3:e + + + + + + + fk_poll_message_registrar_id - + - - pollmessage_614a523e:w->registrar_6e1503e3:e - - - - - - - + + pollmessage_614a523e:w->registrar_6e1503e3:e + + + + + + + fk_poll_message_transfer_response_gaining_registrar_id - + - - pollmessage_614a523e:w->registrar_6e1503e3:e - - - - - - - + + pollmessage_614a523e:w->registrar_6e1503e3:e + + + + + + + fk_poll_message_transfer_response_losing_registrar_id - + - - cursor_6af40e8c - - + + cursor_6af40e8c + + public."Cursor" - - - + + + [table] - - + + "scope" - - - - + + + + text not null - - + + type - - - - + + + + text not null - - + + + + + databasemigrationstateschedule_22edefab + + + public.DatabaseMigrationStateSchedule + + + + [table] + + + id + + + + + int8 not null + + - - delegationsignerdata_e542a872 - + + 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 - + - + int4 not null - - + + - - delegationsignerdata_e542a872:w->domain_6c51cffa:e - - - - - - - + + delegationsignerdata_e542a872:w->domain_6c51cffa:e + + + + + + + fktr24j9v14ph2mfuw2gsmt12kq - + - - domainhistory_a54cc226:w->domain_6c51cffa:e - - - - - - - + + domainhistory_a54cc226:w->domain_6c51cffa:e + + + + + + + fk_domain_history_domain_repo_id - + - - domainhistory_a54cc226:w->registrar_6e1503e3:e - - - - - - - + + domainhistory_a54cc226:w->registrar_6e1503e3:e + + + + + + + fk_domain_history_registrar_id - + - - domainhost_1ea127c2 - + + domainhost_1ea127c2 + public.DomainHost - - + + [table] - + domain_repo_id - + - + text not null - + host_repo_id - + - + text - - + + - - domainhost_1ea127c2:w->domain_6c51cffa:e - - - - - - - + + domainhost_1ea127c2:w->domain_6c51cffa:e + + + + + + + fkfmi7bdink53swivs390m2btxg - + - - domainhost_1ea127c2:w->host_f21b78de:e - - - - - - - + + domainhost_1ea127c2:w->host_f21b78de:e + + + + + + + fk_domainhost_host_valid - + - - host_f21b78de:w->domain_6c51cffa:e - - - - - - - + + host_f21b78de:w->domain_6c51cffa:e + + + + + + + fk_host_superordinate_domain - + - - host_f21b78de:w->registrar_6e1503e3:e - - - - - - - - + + host_f21b78de:w->registrar_6e1503e3:e + + + + + + + + fk_host_creation_registrar_id - + - - host_f21b78de:w->registrar_6e1503e3:e - - - - - - - + + host_f21b78de:w->registrar_6e1503e3:e + + + + + + + fk_host_current_sponsor_registrar_id - + - - host_f21b78de:w->registrar_6e1503e3:e - - - - - - - + + host_f21b78de:w->registrar_6e1503e3:e + + + + + + + fk_host_last_epp_update_registrar_id - + - - domaindsdatahistory_995b060d - + + domaindsdatahistory_995b060d + public.DomainDsDataHistory - - + + [table] - + ds_data_history_revision_id - + - + int8 not null - + domain_history_revision_id - + - + int8 not null - + domain_repo_id - + - + text - - + + - - domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e - - - - - - - + + domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e + + + + + + + fko4ilgyyfnvppbpuivus565i0j - + - - domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e - - - - - - - + + domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e + + + + + + + fko4ilgyyfnvppbpuivus565i0j - + - - domainhistoryhost_9f3f23ee - + + domainhistoryhost_9f3f23ee + public.DomainHistoryHost - - + + [table] - + domain_history_history_revision_id - + - + int8 not null - + host_repo_id - + - + text - + domain_history_domain_repo_id - + - + text not null - - + + - - domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e - - - - - - - + + domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e + + + + + + + fka9woh3hu8gx5x0vly6bai327n - + - - domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e - - - - - - - + + domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e + + + + + + + fka9woh3hu8gx5x0vly6bai327n - + - - domaintransactionrecord_6e77ff61 - + + domaintransactionrecord_6e77ff61 + public.DomainTransactionRecord - - + + [table] - + id - + - + bigserial not null - + - + auto-incremented - + tld - + - + text not null - + domain_repo_id - + - + text - + history_revision_id - + - + int8 - - + + - - domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e - - - - - - - + + domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e + + + + + + + fkcjqe54u72kha71vkibvxhjye7 - + - - domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e - - - - - - - + + domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e + + + + + + + fkcjqe54u72kha71vkibvxhjye7 - + - - domaintransactionrecord_6e77ff61:w->tld_f1fa57e2:e - - - - - - - + + domaintransactionrecord_6e77ff61:w->tld_f1fa57e2:e + + + + + + + fk_domain_transaction_record_tld - + - - graceperiodhistory_40ccc1f1 - + + graceperiodhistory_40ccc1f1 + public.GracePeriodHistory - - + + [table] - + grace_period_history_revision_id - + - + int8 not null - + domain_repo_id - + - + text not null - + domain_history_revision_id - + - + int8 - - + + - - graceperiodhistory_40ccc1f1:w->domainhistory_a54cc226:e - - - - - - - + + graceperiodhistory_40ccc1f1:w->domainhistory_a54cc226:e + + + + + + + fk7w3cx8d55q8bln80e716tr7b8 - + - - graceperiodhistory_40ccc1f1:w->domainhistory_a54cc226:e - - - - - - - + + graceperiodhistory_40ccc1f1:w->domainhistory_a54cc226:e + + + + + + + fk7w3cx8d55q8bln80e716tr7b8 - + - - hosthistory_56210c2:w->host_f21b78de:e - - - - - - - + + hosthistory_56210c2:w->host_f21b78de:e + + + + + + + fk_hosthistory_host - + - - hosthistory_56210c2:w->registrar_6e1503e3:e - - - - - - - + + hosthistory_56210c2:w->registrar_6e1503e3:e + + + + + + + fk_history_registrar_id - + - - lock_f21d4861 - - + + lock_f21d4861 + + public.Lock - - - + + + [table] - - + + resource_name - - - - + + + + text not null - - + + "scope" - - - - + + + + text not null - - + + - - premiumentry_b0060b91 - - + + premiumentry_b0060b91 + + public.PremiumEntry - - - + + + [table] - - + + revision_id - - - - + + + + int8 not null - - + + domain_label - - - - + + + + text not null - - + + - - premiumlist_7c3ea68b - - + + premiumlist_7c3ea68b + + public.PremiumList - - - + + + [table] - - + + revision_id - - - - + + + + bigserial not null - - - - + + + + auto-incremented - - + + name - - - - + + + + text not null - - + + - - premiumentry_b0060b91:w->premiumlist_7c3ea68b:e - - - - - - - - + + premiumentry_b0060b91:w->premiumlist_7c3ea68b:e + + + + + + + + fko0gw90lpo1tuee56l0nb6y6g5 - + - - rderevision_83396864 - - + + rderevision_83396864 + + public.RdeRevision - - - + + + [table] - - + + tld - - - - + + + + text not null - - + + mode - - - - + + + + text not null - - + + "date" - - - - + + + + date not null - - + + - - registrarpoc_ab47054d - + + registrarpoc_ab47054d + public.RegistrarPoc - - + + [table] - + email_address - + - + text not null - + gae_user_id - + - + text - + registrar_id - + - + text not null - - + + - - registrarpoc_ab47054d:w->registrar_6e1503e3:e - - - - - - - + + registrarpoc_ab47054d:w->registrar_6e1503e3:e + + + + + + + fk_registrar_poc_registrar_id - + - - registrylock_ac88663e - - + + 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 - - - - - - - - + + registrylock_ac88663e:w->registrylock_ac88663e:e + + + + + + + + fk2lhcwpxlnqijr96irylrh1707 - + - - reservedentry_1a7b8520 - - + + reservedentry_1a7b8520 + + public.ReservedEntry - - - + + + [table] - - + + revision_id - - - - + + + + int8 not null - - + + domain_label - - - - + + + + text not null - - + + - - reservedlist_b97c3f1c - - + + reservedlist_b97c3f1c + + public.ReservedList - - - + + + [table] - - + + revision_id - - - - + + + + bigserial not null - - - - + + + + auto-incremented - - + + name - - - - + + + + text not null - - + + - - reservedentry_1a7b8520:w->reservedlist_b97c3f1c:e - - - - - - - - + + reservedentry_1a7b8520:w->reservedlist_b97c3f1c:e + + + + + + + + fkgq03rk0bt1hb915dnyvd3vnfc - + - - serversecret_6cc90f09 - - + + serversecret_6cc90f09 + + public.ServerSecret - - - + + + [table] - - + + id - - - - + + + + int8 not null - - + + - - signedmarkrevocationentry_99c39721 - - + + signedmarkrevocationentry_99c39721 + + public.SignedMarkRevocationEntry - - - + + + [table] - - + + revision_id - - - - + + + + int8 not null - - + + smd_id - - - - + + + + text not null - - + + - - signedmarkrevocationlist_c5d968fb - - + + signedmarkrevocationlist_c5d968fb + + public.SignedMarkRevocationList - - - + + + [table] - - + + revision_id - - - - + + + + bigserial not null - - - - + + + + auto-incremented - - + + - - signedmarkrevocationentry_99c39721:w->signedmarkrevocationlist_c5d968fb:e - - - - - - - - + + signedmarkrevocationentry_99c39721:w->signedmarkrevocationlist_c5d968fb:e + + + + + + + + fk5ivlhvs3121yx2li5tqh54u4 - + - - spec11threatmatch_a61228a6 - - + + 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 - - + + - - sqlreplaycheckpoint_342081b3 - - + + sqlreplaycheckpoint_342081b3 + + public.SqlReplayCheckpoint - - - + + + [table] - - + + id - - - - + + + + int8 not null - - + + - - tmchcrl_d282355 - - + + tmchcrl_d282355 + + public.TmchCrl - - - + + + [table] - - + + id - - - - + + + + int8 not null - - + + - - transaction_d50389d4 - - + + transaction_d50389d4 + + public.Transaction - - - + + + [table] - - + + id - - - - + + + + bigserial not null - - - - + + + + auto-incremented - - + + - - -

Tables

- - + + +

Tables

+
public.AllocationToken[table] -
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.AllocationToken [table] +
tokentext not null
domain_nametext
redemption_domain_repo_idtext
token_typetext
Primary Key
AllocationToken_pkey[primary key]
token
Foreign Keys
fk_billing_event_allocation_token[foreign key, with no action]
token ←(0..many) public.BillingEvent.allocation_token
tokentext not null
domain_nametext
redemption_domain_repo_idtext
token_typetext
Primary Key
AllocationToken_pkey[primary key]
token
Foreign Keys
fk_billing_event_allocation_token[foreign key, with no action]
token ←(0..many) public.BillingEvent.allocation_token
-

 

- - +
public.BillingCancellation[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.BillingCancellation [table] +
billing_cancellation_idint8 not null
registrar_idtext not null
domain_history_revision_idint8 not null
domain_repo_idtext not null
event_timetimestamptz not null
billing_timetimestamptz
billing_event_idint8
billing_recurrence_idint8
Primary Key
BillingCancellation_pkey[primary key]
billing_cancellation_id
Foreign Keys
fk_domain_transfer_billing_cancellation_id[foreign key, with no action]
billing_cancellation_id ←(0..many) public.Domain.transfer_billing_cancellation_id
fk_billing_cancellation_billing_event_id[foreign key, with no action]
billing_event_id (0..many)→ public.BillingEvent.billing_event_id
fk_billing_cancellation_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_billing_cancellation_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_cancellation_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
billing_cancellation_idint8 not null
registrar_idtext not null
domain_history_revision_idint8 not null
domain_repo_idtext not null
event_timetimestamptz not null
billing_timetimestamptz
billing_event_idint8
billing_recurrence_idint8
Primary Key
BillingCancellation_pkey[primary key]
billing_cancellation_id
Foreign Keys
fk_domain_transfer_billing_cancellation_id[foreign key, with no action]
billing_cancellation_id ←(0..many) public.Domain.transfer_billing_cancellation_id
fk_billing_cancellation_billing_event_id[foreign key, with no action]
billing_event_id (0..many)→ public.BillingEvent.billing_event_id
fk_billing_cancellation_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_billing_cancellation_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_cancellation_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
-

 

- - +
public.BillingEvent[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.BillingEvent [table] +
billing_event_idint8 not null
registrar_idtext not null
domain_history_revision_idint8 not null
domain_repo_idtext not null
event_timetimestamptz not null
allocation_tokentext
billing_timetimestamptz
cancellation_matching_billing_recurrence_idint8
synthetic_creation_timetimestamptz
recurrence_history_revision_idint8
Primary Key
BillingEvent_pkey[primary key]
billing_event_id
Foreign Keys
fk_billing_event_allocation_token[foreign key, with no action]
allocation_token (0..many)→ public.AllocationToken.token
fk_billing_cancellation_billing_event_id[foreign key, with no action]
billing_event_id ←(0..many) public.BillingCancellation.billing_event_id
fk_domain_transfer_billing_event_id[foreign key, with no action]
billing_event_id ←(0..many) public.Domain.transfer_billing_event_id
fk_grace_period_billing_event_id[foreign key, with no action]
billing_event_id ←(0..many) public.GracePeriod.billing_event_id
fk_billing_event_cancellation_matching_billing_recurrence_id[foreign key, with no action]
cancellation_matching_billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_billing_event_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_event_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
fk_billing_event_recurrence_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
recurrence_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
billing_event_idint8 not null
registrar_idtext not null
domain_history_revision_idint8 not null
domain_repo_idtext not null
event_timetimestamptz not null
allocation_tokentext
billing_timetimestamptz
cancellation_matching_billing_recurrence_idint8
synthetic_creation_timetimestamptz
recurrence_history_revision_idint8
Primary Key
BillingEvent_pkey[primary key]
billing_event_id
Foreign Keys
fk_billing_event_allocation_token[foreign key, with no action]
allocation_token (0..many)→ public.AllocationToken.token
fk_billing_cancellation_billing_event_id[foreign key, with no action]
billing_event_id ←(0..many) public.BillingCancellation.billing_event_id
fk_domain_transfer_billing_event_id[foreign key, with no action]
billing_event_id ←(0..many) public.Domain.transfer_billing_event_id
fk_grace_period_billing_event_id[foreign key, with no action]
billing_event_id ←(0..many) public.GracePeriod.billing_event_id
fk_billing_event_cancellation_matching_billing_recurrence_id[foreign key, with no action]
cancellation_matching_billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_billing_event_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_event_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
fk_billing_event_recurrence_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
recurrence_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
-

 

- - +
public.BillingRecurrence[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.BillingRecurrence [table] +
billing_recurrence_idint8 not null
registrar_idtext not null
domain_history_revision_idint8 not null
domain_repo_idtext not null
event_timetimestamptz not null
recurrence_end_timetimestamptz
recurrence_time_of_yeartext
recurrence_last_expansiontimestamptz not null
Primary Key
BillingRecurrence_pkey[primary key]
billing_recurrence_id
Foreign Keys
fk_billing_cancellation_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.BillingCancellation.billing_recurrence_id
fk_billing_event_cancellation_matching_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.BillingEvent.cancellation_matching_billing_recurrence_id
fk_domain_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.Domain.billing_recurrence_id
fk_domain_transfer_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.Domain.transfer_billing_recurrence_id
fk_grace_period_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.GracePeriod.billing_recurrence_id
fk_billing_recurrence_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_recurrence_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
billing_recurrence_idint8 not null
registrar_idtext not null
domain_history_revision_idint8 not null
domain_repo_idtext not null
event_timetimestamptz not null
recurrence_end_timetimestamptz
recurrence_time_of_yeartext
recurrence_last_expansiontimestamptz not null
Primary Key
BillingRecurrence_pkey[primary key]
billing_recurrence_id
Foreign Keys
fk_billing_cancellation_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.BillingCancellation.billing_recurrence_id
fk_billing_event_cancellation_matching_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.BillingEvent.cancellation_matching_billing_recurrence_id
fk_domain_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.Domain.billing_recurrence_id
fk_domain_transfer_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.Domain.transfer_billing_recurrence_id
fk_grace_period_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.GracePeriod.billing_recurrence_id
fk_billing_recurrence_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_recurrence_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
-

 

- - +
public.ClaimsEntry[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.ClaimsEntry [table] +
revision_idint8 not null
domain_labeltext not null
Primary Key
ClaimsEntry_pkey[primary key]
revision_id
domain_label
Foreign Keys
fk6sc6at5hedffc0nhdcab6ivuq[foreign key, with no action]
revision_id (0..many)→ public.ClaimsList.revision_id
revision_idint8 not null
domain_labeltext not null
Primary Key
ClaimsEntry_pkey[primary key]
revision_id
domain_label
Foreign Keys
fk6sc6at5hedffc0nhdcab6ivuq[foreign key, with no action]
revision_id (0..many)→ public.ClaimsList.revision_id
-

 

- - +
public.ClaimsList[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.ClaimsList [table] +
revision_idbigserial not null
auto-incremented
Primary Key
ClaimsList_pkey[primary key]
revision_id
Foreign Keys
fk6sc6at5hedffc0nhdcab6ivuq[foreign key, with no action]
revision_id ←(0..many) public.ClaimsEntry.revision_id
revision_idbigserial not null
auto-incremented
Primary Key
ClaimsList_pkey[primary key]
revision_id
Foreign Keys
fk6sc6at5hedffc0nhdcab6ivuq[foreign key, with no action]
revision_id ←(0..many) public.ClaimsEntry.revision_id
-

 

- - +
public.Contact[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.Contact [table] +
repo_idtext not null
creation_registrar_idtext not null
creation_timetimestamptz not null
current_sponsor_registrar_idtext not null
deletion_timetimestamptz
last_epp_update_registrar_idtext
contact_idtext
search_nametext
transfer_gaining_registrar_idtext
transfer_losing_registrar_idtext
Primary Key
Contact_pkey[primary key]
repo_id
Foreign Keys
fk_contact_history_contact_repo_id[foreign key, with no action]
repo_id ←(0..many) public.ContactHistory.contact_repo_id
fk_domain_admin_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.admin_contact
fk_domain_billing_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.billing_contact
fk_domain_registrant_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.registrant_contact
fk_domain_tech_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.tech_contact
fk_poll_message_contact_repo_id[foreign key, with no action]
repo_id ←(0..many) public.PollMessage.contact_repo_id
fk1sfyj7o7954prbn1exk7lpnoe[foreign key, with no action]
creation_registrar_id (0..many)→ public.Registrar.registrar_id
fk93c185fx7chn68uv7nl6uv2s0[foreign key, with no action]
current_sponsor_registrar_id (0..many)→ public.Registrar.registrar_id
fkmb7tdiv85863134w1wogtxrb2[foreign key, with no action]
last_epp_update_registrar_id (0..many)→ public.Registrar.registrar_id
fk_contact_transfer_gaining_registrar_id[foreign key, with no action]
transfer_gaining_registrar_id (0..many)→ public.Registrar.registrar_id
fk_contact_transfer_losing_registrar_id[foreign key, with no action]
transfer_losing_registrar_id (0..many)→ public.Registrar.registrar_id
repo_idtext not null
creation_registrar_idtext not null
creation_timetimestamptz not null
current_sponsor_registrar_idtext not null
deletion_timetimestamptz
last_epp_update_registrar_idtext
contact_idtext
search_nametext
transfer_gaining_registrar_idtext
transfer_losing_registrar_idtext
Primary Key
Contact_pkey[primary key]
repo_id
Foreign Keys
fk_contact_history_contact_repo_id[foreign key, with no action]
repo_id ←(0..many) public.ContactHistory.contact_repo_id
fk_domain_admin_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.admin_contact
fk_domain_billing_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.billing_contact
fk_domain_registrant_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.registrant_contact
fk_domain_tech_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.tech_contact
fk_poll_message_contact_repo_id[foreign key, with no action]
repo_id ←(0..many) public.PollMessage.contact_repo_id
fk1sfyj7o7954prbn1exk7lpnoe[foreign key, with no action]
creation_registrar_id (0..many)→ public.Registrar.registrar_id
fk93c185fx7chn68uv7nl6uv2s0[foreign key, with no action]
current_sponsor_registrar_id (0..many)→ public.Registrar.registrar_id
fkmb7tdiv85863134w1wogtxrb2[foreign key, with no action]
last_epp_update_registrar_id (0..many)→ public.Registrar.registrar_id
fk_contact_transfer_gaining_registrar_id[foreign key, with no action]
transfer_gaining_registrar_id (0..many)→ public.Registrar.registrar_id
fk_contact_transfer_losing_registrar_id[foreign key, with no action]
transfer_losing_registrar_id (0..many)→ public.Registrar.registrar_id
-

 

- - +
public.ContactHistory[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.ContactHistory [table] +
history_revision_idint8 not null
history_registrar_idtext
history_modification_timetimestamptz not null
history_typetext not null
creation_timetimestamptz
contact_repo_idtext not null
Primary Key
ContactHistory_pkey[primary key]
contact_repo_id
history_revision_id
Foreign Keys
fk_contact_history_contact_repo_id[foreign key, with no action]
contact_repo_id (0..many)→ public.Contact.repo_id
fk_contact_history_registrar_id[foreign key, with no action]
history_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_contact_history[foreign key, with no action]
contact_repo_id ←(0..many) public.PollMessage.contact_repo_id
history_revision_id ←(0..many) public.PollMessage.contact_history_revision_id
history_revision_idint8 not null
history_registrar_idtext
history_modification_timetimestamptz not null
history_typetext not null
creation_timetimestamptz
contact_repo_idtext not null
Primary Key
ContactHistory_pkey[primary key]
contact_repo_id
history_revision_id
Foreign Keys
fk_contact_history_contact_repo_id[foreign key, with no action]
contact_repo_id (0..many)→ public.Contact.repo_id
fk_contact_history_registrar_id[foreign key, with no action]
history_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_contact_history[foreign key, with no action]
contact_repo_id ←(0..many) public.PollMessage.contact_repo_id
history_revision_id ←(0..many) public.PollMessage.contact_history_revision_id
-

 

- - +
public."Cursor"[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public."Cursor" [table] +
"scope"text not null
typetext not null
Primary Key
Cursor_pkey[primary key]
"scope"
type
"scope"text not null
typetext not null
Primary Key
Cursor_pkey[primary key]
"scope"
type
-

 

- - +
public.DelegationSignerData[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + -
public.DatabaseMigrationStateSchedule [table] +
domain_repo_idtext not null
key_tagint4 not null
algorithmint4 not null
digestbytea not null
digest_typeint4 not null
Primary Key
DelegationSignerData_pkey[primary key]
domain_repo_id
key_tag
algorithm
digest_type
digest
Foreign Keys
fktr24j9v14ph2mfuw2gsmt12kq[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
idint8 not null
Primary Key
DatabaseMigrationStateSchedule_pkey[primary key]
id
-

 

- - +
public.Domain[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.DelegationSignerData [table] +
repo_idtext not null
creation_registrar_idtext not null
creation_timetimestamptz not null
current_sponsor_registrar_idtext not null
deletion_timetimestamptz
last_epp_update_registrar_idtext
domain_nametext
tldtext
admin_contacttext
billing_contacttext
registrant_contacttext
tech_contacttext
transfer_billing_cancellation_idint8
transfer_billing_event_idint8
transfer_billing_recurrence_idint8
transfer_gaining_registrar_idtext
transfer_losing_registrar_idtext
billing_recurrence_idint8
autorenew_end_timetimestamptz
dns_refresh_request_timetimestamptz
Primary Key
Domain_pkey[primary key]
repo_id
Foreign Keys
fk_domain_transfer_billing_cancellation_id[foreign key, with no action]
transfer_billing_cancellation_id (0..many)→ public.BillingCancellation.billing_cancellation_id
fk_domain_transfer_billing_event_id[foreign key, with no action]
transfer_billing_event_id (0..many)→ public.BillingEvent.billing_event_id
fk_domain_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_domain_transfer_billing_recurrence_id[foreign key, with no action]
transfer_billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_domain_admin_contact[foreign key, with no action]
admin_contact (0..many)→ public.Contact.repo_id
fk_domain_billing_contact[foreign key, with no action]
billing_contact (0..many)→ public.Contact.repo_id
fk_domain_registrant_contact[foreign key, with no action]
registrant_contact (0..many)→ public.Contact.repo_id
fk_domain_tech_contact[foreign key, with no action]
tech_contact (0..many)→ public.Contact.repo_id
fktr24j9v14ph2mfuw2gsmt12kq[foreign key, with no action]
repo_id ←(0..many) public.DelegationSignerData.domain_repo_id
fk_domain_history_domain_repo_id[foreign key, with no action]
repo_id ←(0..many) public.DomainHistory.domain_repo_id
fkfmi7bdink53swivs390m2btxg[foreign key, with no action]
repo_id ←(0..many) public.DomainHost.domain_repo_id
fk_grace_period_domain_repo_id[foreign key, with no action]
repo_id ←(0..many) public.GracePeriod.domain_repo_id
fk_host_superordinate_domain[foreign key, with no action]
repo_id ←(0..many) public.Host.superordinate_domain
fk_poll_message_domain_repo_id[foreign key, with no action]
repo_id ←(0..many) public.PollMessage.domain_repo_id
fk2jc69qyg2tv9hhnmif6oa1cx1[foreign key, with no action]
creation_registrar_id (0..many)→ public.Registrar.registrar_id
fk2u3srsfbei272093m3b3xwj23[foreign key, with no action]
current_sponsor_registrar_id (0..many)→ public.Registrar.registrar_id
fkjc0r9r5y1lfbt4gpbqw4wsuvq[foreign key, with no action]
last_epp_update_registrar_id (0..many)→ public.Registrar.registrar_id
fk_domain_transfer_gaining_registrar_id[foreign key, with no action]
transfer_gaining_registrar_id (0..many)→ public.Registrar.registrar_id
fk_domain_transfer_losing_registrar_id[foreign key, with no action]
transfer_losing_registrar_id (0..many)→ public.Registrar.registrar_id
fk_domain_tld[foreign key, with no action]
tld (0..many)→ public.Tld.tld_name
domain_repo_idtext not null
key_tagint4 not null
algorithmint4 not null
digestbytea not null
digest_typeint4 not null
Primary Key
DelegationSignerData_pkey[primary key]
domain_repo_id
key_tag
algorithm
digest_type
digest
Foreign Keys
fktr24j9v14ph2mfuw2gsmt12kq[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
-

 

- - +
public.DomainDsDataHistory[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.Domain [table] +
ds_data_history_revision_idint8 not null
domain_history_revision_idint8 not null
domain_repo_idtext
Primary Key
DomainDsDataHistory_pkey[primary key]
ds_data_history_revision_id
Foreign Keys
fko4ilgyyfnvppbpuivus565i0j[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
repo_idtext not null
creation_registrar_idtext not null
creation_timetimestamptz not null
current_sponsor_registrar_idtext not null
deletion_timetimestamptz
last_epp_update_registrar_idtext
domain_nametext
tldtext
admin_contacttext
billing_contacttext
registrant_contacttext
tech_contacttext
transfer_billing_cancellation_idint8
transfer_billing_event_idint8
transfer_billing_recurrence_idint8
transfer_gaining_registrar_idtext
transfer_losing_registrar_idtext
billing_recurrence_idint8
autorenew_end_timetimestamptz
dns_refresh_request_timetimestamptz
Primary Key
Domain_pkey[primary key]
repo_id
Foreign Keys
fk_domain_transfer_billing_cancellation_id[foreign key, with no action]
transfer_billing_cancellation_id (0..many)→ public.BillingCancellation.billing_cancellation_id
fk_domain_transfer_billing_event_id[foreign key, with no action]
transfer_billing_event_id (0..many)→ public.BillingEvent.billing_event_id
fk_domain_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_domain_transfer_billing_recurrence_id[foreign key, with no action]
transfer_billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_domain_admin_contact[foreign key, with no action]
admin_contact (0..many)→ public.Contact.repo_id
fk_domain_billing_contact[foreign key, with no action]
billing_contact (0..many)→ public.Contact.repo_id
fk_domain_registrant_contact[foreign key, with no action]
registrant_contact (0..many)→ public.Contact.repo_id
fk_domain_tech_contact[foreign key, with no action]
tech_contact (0..many)→ public.Contact.repo_id
fktr24j9v14ph2mfuw2gsmt12kq[foreign key, with no action]
repo_id ←(0..many) public.DelegationSignerData.domain_repo_id
fk_domain_history_domain_repo_id[foreign key, with no action]
repo_id ←(0..many) public.DomainHistory.domain_repo_id
fkfmi7bdink53swivs390m2btxg[foreign key, with no action]
repo_id ←(0..many) public.DomainHost.domain_repo_id
fk_grace_period_domain_repo_id[foreign key, with no action]
repo_id ←(0..many) public.GracePeriod.domain_repo_id
fk_host_superordinate_domain[foreign key, with no action]
repo_id ←(0..many) public.Host.superordinate_domain
fk_poll_message_domain_repo_id[foreign key, with no action]
repo_id ←(0..many) public.PollMessage.domain_repo_id
fk2jc69qyg2tv9hhnmif6oa1cx1[foreign key, with no action]
creation_registrar_id (0..many)→ public.Registrar.registrar_id
fk2u3srsfbei272093m3b3xwj23[foreign key, with no action]
current_sponsor_registrar_id (0..many)→ public.Registrar.registrar_id
fkjc0r9r5y1lfbt4gpbqw4wsuvq[foreign key, with no action]
last_epp_update_registrar_id (0..many)→ public.Registrar.registrar_id
fk_domain_transfer_gaining_registrar_id[foreign key, with no action]
transfer_gaining_registrar_id (0..many)→ public.Registrar.registrar_id
fk_domain_transfer_losing_registrar_id[foreign key, with no action]
transfer_losing_registrar_id (0..many)→ public.Registrar.registrar_id
fk_domain_tld[foreign key, with no action]
tld (0..many)→ public.Tld.tld_name
-

 

- - +
public.DomainHistory[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.DomainDsDataHistory [table] +
history_revision_idint8 not null
history_registrar_idtext
history_modification_timetimestamptz not null
history_typetext not null
creation_timetimestamptz
domain_repo_idtext not null
Primary Key
DomainHistory_pkey[primary key]
domain_repo_id
history_revision_id
Foreign Keys
fk_domain_history_domain_repo_id[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_domain_history_registrar_id[foreign key, with no action]
history_registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_cancellation_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingCancellation.domain_repo_id
history_revision_id ←(0..many) public.BillingCancellation.domain_history_revision_id
fk_billing_event_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingEvent.domain_repo_id
history_revision_id ←(0..many) public.BillingEvent.domain_history_revision_id
fk_billing_event_recurrence_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingEvent.domain_repo_id
history_revision_id ←(0..many) public.BillingEvent.recurrence_history_revision_id
fk_billing_recurrence_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingRecurrence.domain_repo_id
history_revision_id ←(0..many) public.BillingRecurrence.domain_history_revision_id
fko4ilgyyfnvppbpuivus565i0j[foreign key, with no action]
domain_repo_id ←(0..many) public.DomainDsDataHistory.domain_repo_id
history_revision_id ←(0..many) public.DomainDsDataHistory.domain_history_revision_id
fka9woh3hu8gx5x0vly6bai327n[foreign key, with no action]
domain_repo_id ←(0..many) public.DomainHistoryHost.domain_history_domain_repo_id
history_revision_id ←(0..many) public.DomainHistoryHost.domain_history_history_revision_id
fkcjqe54u72kha71vkibvxhjye7[foreign key, with no action]
domain_repo_id ←(0..many) public.DomainTransactionRecord.domain_repo_id
history_revision_id ←(0..many) public.DomainTransactionRecord.history_revision_id
fk7w3cx8d55q8bln80e716tr7b8[foreign key, with no action]
domain_repo_id ←(0..many) public.GracePeriodHistory.domain_repo_id
history_revision_id ←(0..many) public.GracePeriodHistory.domain_history_revision_id
fk_poll_message_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.PollMessage.domain_repo_id
history_revision_id ←(0..many) public.PollMessage.domain_history_revision_id
ds_data_history_revision_idint8 not null
domain_history_revision_idint8 not null
domain_repo_idtext
Primary Key
DomainDsDataHistory_pkey[primary key]
ds_data_history_revision_id
Foreign Keys
fko4ilgyyfnvppbpuivus565i0j[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
-

 

- - +
public.DomainHistoryHost[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.DomainHistory [table] +
domain_history_history_revision_idint8 not null
host_repo_idtext
domain_history_domain_repo_idtext not null
Foreign Keys
fka9woh3hu8gx5x0vly6bai327n[foreign key, with no action]
domain_history_domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
history_revision_idint8 not null
history_registrar_idtext
history_modification_timetimestamptz not null
history_typetext not null
creation_timetimestamptz
domain_repo_idtext not null
Primary Key
DomainHistory_pkey[primary key]
domain_repo_id
history_revision_id
Foreign Keys
fk_domain_history_domain_repo_id[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_domain_history_registrar_id[foreign key, with no action]
history_registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_cancellation_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingCancellation.domain_repo_id
history_revision_id ←(0..many) public.BillingCancellation.domain_history_revision_id
fk_billing_event_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingEvent.domain_repo_id
history_revision_id ←(0..many) public.BillingEvent.domain_history_revision_id
fk_billing_event_recurrence_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingEvent.domain_repo_id
history_revision_id ←(0..many) public.BillingEvent.recurrence_history_revision_id
fk_billing_recurrence_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingRecurrence.domain_repo_id
history_revision_id ←(0..many) public.BillingRecurrence.domain_history_revision_id
fko4ilgyyfnvppbpuivus565i0j[foreign key, with no action]
domain_repo_id ←(0..many) public.DomainDsDataHistory.domain_repo_id
history_revision_id ←(0..many) public.DomainDsDataHistory.domain_history_revision_id
fka9woh3hu8gx5x0vly6bai327n[foreign key, with no action]
domain_repo_id ←(0..many) public.DomainHistoryHost.domain_history_domain_repo_id
history_revision_id ←(0..many) public.DomainHistoryHost.domain_history_history_revision_id
fkcjqe54u72kha71vkibvxhjye7[foreign key, with no action]
domain_repo_id ←(0..many) public.DomainTransactionRecord.domain_repo_id
history_revision_id ←(0..many) public.DomainTransactionRecord.history_revision_id
fk7w3cx8d55q8bln80e716tr7b8[foreign key, with no action]
domain_repo_id ←(0..many) public.GracePeriodHistory.domain_repo_id
history_revision_id ←(0..many) public.GracePeriodHistory.domain_history_revision_id
fk_poll_message_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.PollMessage.domain_repo_id
history_revision_id ←(0..many) public.PollMessage.domain_history_revision_id
-

 

- - +
public.DomainHost[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.DomainHistoryHost [table] +
domain_repo_idtext not null
host_repo_idtext
Foreign Keys
fkfmi7bdink53swivs390m2btxg[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_domainhost_host_valid[foreign key, with no action]
host_repo_id (0..many)→ public.Host.repo_id
domain_history_history_revision_idint8 not null
host_repo_idtext
domain_history_domain_repo_idtext not null
Foreign Keys
fka9woh3hu8gx5x0vly6bai327n[foreign key, with no action]
domain_history_domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
-

 

- - +
public.DomainTransactionRecord[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.DomainHost [table] +
idbigserial not null
auto-incremented
tldtext not null
domain_repo_idtext
history_revision_idint8
Primary Key
DomainTransactionRecord_pkey[primary key]
id
Foreign Keys
fk_domain_transaction_record_tld[foreign key, with no action]
tld (0..many)→ public.Tld.tld_name
fkcjqe54u72kha71vkibvxhjye7[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
history_revision_id (0..many)→ public.DomainHistory.history_revision_id
domain_repo_idtext not null
host_repo_idtext
Foreign Keys
fkfmi7bdink53swivs390m2btxg[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_domainhost_host_valid[foreign key, with no action]
host_repo_id (0..many)→ public.Host.repo_id
-

 

- - +
public.GracePeriod[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.DomainTransactionRecord [table] +
grace_period_idint8 not null
billing_event_idint8
billing_recurrence_idint8
registrar_idtext not null
domain_repo_idtext not null
Primary Key
GracePeriod_pkey[primary key]
grace_period_id
Foreign Keys
fk_grace_period_billing_event_id[foreign key, with no action]
billing_event_id (0..many)→ public.BillingEvent.billing_event_id
fk_grace_period_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_grace_period_domain_repo_id[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_grace_period_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
idbigserial not null
auto-incremented
tldtext not null
domain_repo_idtext
history_revision_idint8
Primary Key
DomainTransactionRecord_pkey[primary key]
id
Foreign Keys
fk_domain_transaction_record_tld[foreign key, with no action]
tld (0..many)→ public.Tld.tld_name
fkcjqe54u72kha71vkibvxhjye7[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
history_revision_id (0..many)→ public.DomainHistory.history_revision_id
-

 

- - +
public.GracePeriodHistory[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.GracePeriod [table] +
grace_period_history_revision_idint8 not null
domain_repo_idtext not null
domain_history_revision_idint8
Primary Key
GracePeriodHistory_pkey[primary key]
grace_period_history_revision_id
Foreign Keys
fk7w3cx8d55q8bln80e716tr7b8[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
grace_period_idint8 not null
billing_event_idint8
billing_recurrence_idint8
registrar_idtext not null
domain_repo_idtext not null
Primary Key
GracePeriod_pkey[primary key]
grace_period_id
Foreign Keys
fk_grace_period_billing_event_id[foreign key, with no action]
billing_event_id (0..many)→ public.BillingEvent.billing_event_id
fk_grace_period_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_grace_period_domain_repo_id[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_grace_period_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
-

 

- - +
public.Host[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.GracePeriodHistory [table] +
repo_idtext not null
creation_registrar_idtext
creation_timetimestamptz
current_sponsor_registrar_idtext
deletion_timetimestamptz
last_epp_update_registrar_idtext
host_nametext
superordinate_domaintext
inet_addresses_text
Primary Key
Host_pkey[primary key]
repo_id
Foreign Keys
fk_host_superordinate_domain[foreign key, with no action]
superordinate_domain (0..many)→ public.Domain.repo_id
fk_domainhost_host_valid[foreign key, with no action]
repo_id ←(0..many) public.DomainHost.host_repo_id
fk_hosthistory_host[foreign key, with no action]
repo_id ←(0..many) public.HostHistory.host_repo_id
fk_poll_message_host_repo_id[foreign key, with no action]
repo_id ←(0..many) public.PollMessage.host_repo_id
fk_host_creation_registrar_id[foreign key, with no action]
creation_registrar_id (0..many)→ public.Registrar.registrar_id
fk_host_current_sponsor_registrar_id[foreign key, with no action]
current_sponsor_registrar_id (0..many)→ public.Registrar.registrar_id
fk_host_last_epp_update_registrar_id[foreign key, with no action]
last_epp_update_registrar_id (0..many)→ public.Registrar.registrar_id
grace_period_history_revision_idint8 not null
domain_repo_idtext not null
domain_history_revision_idint8
Primary Key
GracePeriodHistory_pkey[primary key]
grace_period_history_revision_id
Foreign Keys
fk7w3cx8d55q8bln80e716tr7b8[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
-

 

- - +
public.HostHistory[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.Host [table] +
history_revision_idint8 not null
history_registrar_idtext not null
history_modification_timetimestamptz not null
history_typetext not null
host_nametext
creation_timetimestamptz
host_repo_idtext not null
Primary Key
HostHistory_pkey[primary key]
host_repo_id
history_revision_id
Foreign Keys
fk_hosthistory_host[foreign key, with no action]
host_repo_id (0..many)→ public.Host.repo_id
fk_history_registrar_id[foreign key, with no action]
history_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_host_history[foreign key, with no action]
host_repo_id ←(0..many) public.PollMessage.host_repo_id
history_revision_id ←(0..many) public.PollMessage.host_history_revision_id
repo_idtext not null
creation_registrar_idtext
creation_timetimestamptz
current_sponsor_registrar_idtext
deletion_timetimestamptz
last_epp_update_registrar_idtext
host_nametext
superordinate_domaintext
inet_addresses_text
Primary Key
Host_pkey[primary key]
repo_id
Foreign Keys
fk_host_superordinate_domain[foreign key, with no action]
superordinate_domain (0..many)→ public.Domain.repo_id
fk_domainhost_host_valid[foreign key, with no action]
repo_id ←(0..many) public.DomainHost.host_repo_id
fk_hosthistory_host[foreign key, with no action]
repo_id ←(0..many) public.HostHistory.host_repo_id
fk_poll_message_host_repo_id[foreign key, with no action]
repo_id ←(0..many) public.PollMessage.host_repo_id
fk_host_creation_registrar_id[foreign key, with no action]
creation_registrar_id (0..many)→ public.Registrar.registrar_id
fk_host_current_sponsor_registrar_id[foreign key, with no action]
current_sponsor_registrar_id (0..many)→ public.Registrar.registrar_id
fk_host_last_epp_update_registrar_id[foreign key, with no action]
last_epp_update_registrar_id (0..many)→ public.Registrar.registrar_id
-

 

- - +
public.Lock[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.HostHistory [table] +
resource_nametext not null
"scope"text not null
Primary Key
Lock_pkey[primary key]
resource_name
"scope"
history_revision_idint8 not null
history_registrar_idtext not null
history_modification_timetimestamptz not null
history_typetext not null
host_nametext
creation_timetimestamptz
host_repo_idtext not null
Primary Key
HostHistory_pkey[primary key]
host_repo_id
history_revision_id
Foreign Keys
fk_hosthistory_host[foreign key, with no action]
host_repo_id (0..many)→ public.Host.repo_id
fk_history_registrar_id[foreign key, with no action]
history_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_host_history[foreign key, with no action]
host_repo_id ←(0..many) public.PollMessage.host_repo_id
history_revision_id ←(0..many) public.PollMessage.host_history_revision_id
-

 

- - +
public.PollMessage[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.Lock [table] +
poll_message_idint8 not null
registrar_idtext not null
contact_repo_idtext
contact_history_revision_idint8
domain_repo_idtext
domain_history_revision_idint8
event_timetimestamptz not null
host_repo_idtext
host_history_revision_idint8
transfer_response_gaining_registrar_idtext
transfer_response_losing_registrar_idtext
Primary Key
PollMessage_pkey[primary key]
poll_message_id
Foreign Keys
fk_poll_message_contact_repo_id[foreign key, with no action]
contact_repo_id (0..many)→ public.Contact.repo_id
fk_poll_message_domain_repo_id[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_poll_message_host_repo_id[foreign key, with no action]
host_repo_id (0..many)→ public.Host.repo_id
fk_poll_message_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_transfer_response_gaining_registrar_id[foreign key, with no action]
transfer_response_gaining_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_transfer_response_losing_registrar_id[foreign key, with no action]
transfer_response_losing_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_contact_history[foreign key, with no action]
contact_repo_id (0..many)→ public.ContactHistory.contact_repo_id
contact_history_revision_id (0..many)→ public.ContactHistory.history_revision_id
fk_poll_message_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
fk_poll_message_host_history[foreign key, with no action]
host_repo_id (0..many)→ public.HostHistory.host_repo_id
host_history_revision_id (0..many)→ public.HostHistory.history_revision_id
resource_nametext not null
"scope"text not null
Primary Key
Lock_pkey[primary key]
resource_name
"scope"
-

 

- - +
public.PremiumEntry[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.PollMessage [table] +
revision_idint8 not null
domain_labeltext not null
Primary Key
PremiumEntry_pkey[primary key]
revision_id
domain_label
Foreign Keys
fko0gw90lpo1tuee56l0nb6y6g5[foreign key, with no action]
revision_id (0..many)→ public.PremiumList.revision_id
poll_message_idint8 not null
registrar_idtext not null
contact_repo_idtext
contact_history_revision_idint8
domain_repo_idtext
domain_history_revision_idint8
event_timetimestamptz not null
host_repo_idtext
host_history_revision_idint8
transfer_response_gaining_registrar_idtext
transfer_response_losing_registrar_idtext
Primary Key
PollMessage_pkey[primary key]
poll_message_id
Foreign Keys
fk_poll_message_contact_repo_id[foreign key, with no action]
contact_repo_id (0..many)→ public.Contact.repo_id
fk_poll_message_domain_repo_id[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_poll_message_host_repo_id[foreign key, with no action]
host_repo_id (0..many)→ public.Host.repo_id
fk_poll_message_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_transfer_response_gaining_registrar_id[foreign key, with no action]
transfer_response_gaining_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_transfer_response_losing_registrar_id[foreign key, with no action]
transfer_response_losing_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_contact_history[foreign key, with no action]
contact_repo_id (0..many)→ public.ContactHistory.contact_repo_id
contact_history_revision_id (0..many)→ public.ContactHistory.history_revision_id
fk_poll_message_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
fk_poll_message_host_history[foreign key, with no action]
host_repo_id (0..many)→ public.HostHistory.host_repo_id
host_history_revision_id (0..many)→ public.HostHistory.history_revision_id
-

 

- - +
public.PremiumList[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.PremiumEntry [table] +
revision_idbigserial not null
auto-incremented
nametext not null
Primary Key
PremiumList_pkey[primary key]
revision_id
Foreign Keys
fko0gw90lpo1tuee56l0nb6y6g5[foreign key, with no action]
revision_id ←(0..many) public.PremiumEntry.revision_id
revision_idint8 not null
domain_labeltext not null
Primary Key
PremiumEntry_pkey[primary key]
revision_id
domain_label
Foreign Keys
fko0gw90lpo1tuee56l0nb6y6g5[foreign key, with no action]
revision_id (0..many)→ public.PremiumList.revision_id
-

 

- - +
public.RdeRevision[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.PremiumList [table] +
tldtext not null
modetext not null
"date"date not null
Primary Key
RdeRevision_pkey[primary key]
tld
mode
"date"
revision_idbigserial not null
auto-incremented
nametext not null
Primary Key
PremiumList_pkey[primary key]
revision_id
Foreign Keys
fko0gw90lpo1tuee56l0nb6y6g5[foreign key, with no action]
revision_id ←(0..many) public.PremiumEntry.revision_id
-

 

- - +
public.Registrar[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.RdeRevision [table] +
registrar_idtext not null
iana_identifierint8
registrar_nametext not null
Primary Key
Registrar_pkey[primary key]
registrar_id
Foreign Keys
fk_billing_cancellation_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.BillingCancellation.registrar_id
fk_billing_event_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.BillingEvent.registrar_id
fk_billing_recurrence_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.BillingRecurrence.registrar_id
fk1sfyj7o7954prbn1exk7lpnoe[foreign key, with no action]
registrar_id ←(0..many) public.Contact.creation_registrar_id
fk93c185fx7chn68uv7nl6uv2s0[foreign key, with no action]
registrar_id ←(0..many) public.Contact.current_sponsor_registrar_id
fkmb7tdiv85863134w1wogtxrb2[foreign key, with no action]
registrar_id ←(0..many) public.Contact.last_epp_update_registrar_id
fk_contact_transfer_gaining_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Contact.transfer_gaining_registrar_id
fk_contact_transfer_losing_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Contact.transfer_losing_registrar_id
fk_contact_history_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.ContactHistory.history_registrar_id
fk2jc69qyg2tv9hhnmif6oa1cx1[foreign key, with no action]
registrar_id ←(0..many) public.Domain.creation_registrar_id
fk2u3srsfbei272093m3b3xwj23[foreign key, with no action]
registrar_id ←(0..many) public.Domain.current_sponsor_registrar_id
fkjc0r9r5y1lfbt4gpbqw4wsuvq[foreign key, with no action]
registrar_id ←(0..many) public.Domain.last_epp_update_registrar_id
fk_domain_transfer_gaining_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Domain.transfer_gaining_registrar_id
fk_domain_transfer_losing_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Domain.transfer_losing_registrar_id
fk_domain_history_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.DomainHistory.history_registrar_id
fk_grace_period_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.GracePeriod.registrar_id
fk_host_creation_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Host.creation_registrar_id
fk_host_current_sponsor_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Host.current_sponsor_registrar_id
fk_host_last_epp_update_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Host.last_epp_update_registrar_id
fk_history_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.HostHistory.history_registrar_id
fk_poll_message_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.PollMessage.registrar_id
fk_poll_message_transfer_response_gaining_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.PollMessage.transfer_response_gaining_registrar_id
fk_poll_message_transfer_response_losing_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.PollMessage.transfer_response_losing_registrar_id
fk_registrar_poc_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.RegistrarPoc.registrar_id
tldtext not null
modetext not null
"date"date not null
Primary Key
RdeRevision_pkey[primary key]
tld
mode
"date"
-

 

- - +
public.RegistrarPoc[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.Registrar [table] +
email_addresstext not null
gae_user_idtext
registrar_idtext not null
Primary Key
RegistrarPoc_pkey[primary key]
registrar_id
email_address
Foreign Keys
fk_registrar_poc_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
registrar_idtext not null
iana_identifierint8
registrar_nametext not null
Primary Key
Registrar_pkey[primary key]
registrar_id
Foreign Keys
fk_billing_cancellation_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.BillingCancellation.registrar_id
fk_billing_event_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.BillingEvent.registrar_id
fk_billing_recurrence_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.BillingRecurrence.registrar_id
fk1sfyj7o7954prbn1exk7lpnoe[foreign key, with no action]
registrar_id ←(0..many) public.Contact.creation_registrar_id
fk93c185fx7chn68uv7nl6uv2s0[foreign key, with no action]
registrar_id ←(0..many) public.Contact.current_sponsor_registrar_id
fkmb7tdiv85863134w1wogtxrb2[foreign key, with no action]
registrar_id ←(0..many) public.Contact.last_epp_update_registrar_id
fk_contact_transfer_gaining_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Contact.transfer_gaining_registrar_id
fk_contact_transfer_losing_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Contact.transfer_losing_registrar_id
fk_contact_history_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.ContactHistory.history_registrar_id
fk2jc69qyg2tv9hhnmif6oa1cx1[foreign key, with no action]
registrar_id ←(0..many) public.Domain.creation_registrar_id
fk2u3srsfbei272093m3b3xwj23[foreign key, with no action]
registrar_id ←(0..many) public.Domain.current_sponsor_registrar_id
fkjc0r9r5y1lfbt4gpbqw4wsuvq[foreign key, with no action]
registrar_id ←(0..many) public.Domain.last_epp_update_registrar_id
fk_domain_transfer_gaining_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Domain.transfer_gaining_registrar_id
fk_domain_transfer_losing_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Domain.transfer_losing_registrar_id
fk_domain_history_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.DomainHistory.history_registrar_id
fk_grace_period_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.GracePeriod.registrar_id
fk_host_creation_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Host.creation_registrar_id
fk_host_current_sponsor_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Host.current_sponsor_registrar_id
fk_host_last_epp_update_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Host.last_epp_update_registrar_id
fk_history_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.HostHistory.history_registrar_id
fk_poll_message_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.PollMessage.registrar_id
fk_poll_message_transfer_response_gaining_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.PollMessage.transfer_response_gaining_registrar_id
fk_poll_message_transfer_response_losing_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.PollMessage.transfer_response_losing_registrar_id
fk_registrar_poc_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.RegistrarPoc.registrar_id
-

 

- - +
public.RegistryLock[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.RegistrarPoc [table] +
revision_idbigserial not null
auto-incremented
registrar_idtext not null
repo_idtext not null
verification_codetext not null
relock_revision_idint8
Primary Key
RegistryLock_pkey[primary key]
revision_id
Foreign Keys
fk2lhcwpxlnqijr96irylrh1707[foreign key, with no action]
revision_id ←(0..many) relock_revision_id
email_addresstext not null
gae_user_idtext
registrar_idtext not null
Primary Key
RegistrarPoc_pkey[primary key]
registrar_id
email_address
Foreign Keys
fk_registrar_poc_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
-

 

- - +
public.ReservedEntry[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.RegistryLock [table] +
revision_idint8 not null
domain_labeltext not null
Primary Key
ReservedEntry_pkey[primary key]
revision_id
domain_label
Foreign Keys
fkgq03rk0bt1hb915dnyvd3vnfc[foreign key, with no action]
revision_id (0..many)→ public.ReservedList.revision_id
revision_idbigserial not null
auto-incremented
registrar_idtext not null
repo_idtext not null
verification_codetext not null
relock_revision_idint8
Primary Key
RegistryLock_pkey[primary key]
revision_id
Foreign Keys
fk2lhcwpxlnqijr96irylrh1707[foreign key, with no action]
revision_id ←(0..many) relock_revision_id
-

 

- - +
public.ReservedList[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.ReservedEntry [table] +
revision_idbigserial not null
auto-incremented
nametext not null
Primary Key
ReservedList_pkey[primary key]
revision_id
Foreign Keys
fkgq03rk0bt1hb915dnyvd3vnfc[foreign key, with no action]
revision_id ←(0..many) public.ReservedEntry.revision_id
revision_idint8 not null
domain_labeltext not null
Primary Key
ReservedEntry_pkey[primary key]
revision_id
domain_label
Foreign Keys
fkgq03rk0bt1hb915dnyvd3vnfc[foreign key, with no action]
revision_id (0..many)→ public.ReservedList.revision_id
-

 

- - +
public.ServerSecret[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.ReservedList [table] +
idint8 not null
Primary Key
ServerSecret_pkey[primary key]
id
revision_idbigserial not null
auto-incremented
nametext not null
Primary Key
ReservedList_pkey[primary key]
revision_id
Foreign Keys
fkgq03rk0bt1hb915dnyvd3vnfc[foreign key, with no action]
revision_id ←(0..many) public.ReservedEntry.revision_id
-

 

- - +
public.SignedMarkRevocationEntry[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + -
public.ServerSecret [table] +
revision_idint8 not null
smd_idtext not null
Primary Key
SignedMarkRevocationEntry_pkey[primary key]
revision_id
smd_id
Foreign Keys
fk5ivlhvs3121yx2li5tqh54u4[foreign key, with no action]
revision_id (0..many)→ public.SignedMarkRevocationList.revision_id
idint8 not null
Primary Key
ServerSecret_pkey[primary key]
id
-

 

- - +
public.SignedMarkRevocationList[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.SignedMarkRevocationEntry [table] +
revision_idbigserial not null
auto-incremented
Primary Key
SignedMarkRevocationList_pkey[primary key]
revision_id
Foreign Keys
fk5ivlhvs3121yx2li5tqh54u4[foreign key, with no action]
revision_id ←(0..many) public.SignedMarkRevocationEntry.revision_id
revision_idint8 not null
smd_idtext not null
Primary Key
SignedMarkRevocationEntry_pkey[primary key]
revision_id
smd_id
Foreign Keys
fk5ivlhvs3121yx2li5tqh54u4[foreign key, with no action]
revision_id (0..many)→ public.SignedMarkRevocationList.revision_id
-

 

- - +
public.Spec11ThreatMatch[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.SignedMarkRevocationList [table] +
idbigserial not null
auto-incremented
check_datedate not null
registrar_idtext not null
tldtext not null
Primary Key
SafeBrowsingThreat_pkey[primary key]
id
revision_idbigserial not null
auto-incremented
Primary Key
SignedMarkRevocationList_pkey[primary key]
revision_id
Foreign Keys
fk5ivlhvs3121yx2li5tqh54u4[foreign key, with no action]
revision_id ←(0..many) public.SignedMarkRevocationEntry.revision_id
-

 

- - +
public.SqlReplayCheckpoint[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.Spec11ThreatMatch [table] +
idint8 not null
Primary Key
SqlReplayCheckpoint_pkey[primary key]
id
idbigserial not null
auto-incremented
check_datedate not null
registrar_idtext not null
tldtext not null
Primary Key
SafeBrowsingThreat_pkey[primary key]
id
-

 

- - +
public.Tld[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + -
public.SqlReplayCheckpoint [table] +
tld_nametext not null
Primary Key
Tld_pkey[primary key]
tld_name
Foreign Keys
fk_domain_tld[foreign key, with no action]
tld_name ←(0..many) public.Domain.tld
fk_domain_transaction_record_tld[foreign key, with no action]
tld_name ←(0..many) public.DomainTransactionRecord.tld
idint8 not null
Primary Key
SqlReplayCheckpoint_pkey[primary key]
id
-

 

- - +
public.TmchCrl[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.Tld [table] +
idint8 not null
Primary Key
TmchCrl_pkey[primary key]
id
tld_nametext not null
Primary Key
Tld_pkey[primary key]
tld_name
Foreign Keys
fk_domain_tld[foreign key, with no action]
tld_name ←(0..many) public.Domain.tld
fk_domain_transaction_record_tld[foreign key, with no action]
tld_name ←(0..many) public.DomainTransactionRecord.tld
-

 

- - +
public.Transaction[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + -
public.TmchCrl [table] +
idbigserial not null
auto-incremented
Primary Key
Transaction_pkey[primary key]
id
idint8 not null
Primary Key
TmchCrl_pkey[primary key]
id
-

 

+ +

 

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
public.Transaction [table] +
idbigserial not null
auto-incremented
Primary Key
Transaction_pkey[primary key]
id
+

 

\ No newline at end of file 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 286d3b8ce..d97e9c574 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 @@ -1,9 +1,9 @@ - - - SchemaCrawler Output - - + + + SchemaCrawler Output + + + - - -

 

-

System Information

- + + +

 

+

System Information

+
- - - - - - - - + + + + + + + + - + -
generated bySchemaCrawler 16.10.1
generated on2022-06-29 03:21:30.329445
generated bySchemaCrawler 16.10.1
generated on2022-06-01 19:28:07.459496
last flyway fileV119__drop_database_migration_schedule.sqlV118__drop_billing_identifier_column_from_registrar.sql
-

 

-

 

- + +

 

+

 

+ SchemaCrawler_Diagram - + generated by @@ -284,13957 +284,14050 @@ td.section { generated on - 2022-06-29 03:21:30.329445 + 2022-06-01 19:28:07.459496 - - allocationtoken_a08ccbef - + + allocationtoken_a08ccbef + public.AllocationToken - - + + [table] - + token - + - + text not null - + update_timestamp - + - + timestamptz - + allowed_registrar_ids - + - + _text - + allowed_tlds - + - + _text - + creation_time - + - + timestamptz not null - + discount_fraction - + - + float8(17, 17) not null - + discount_premiums - + - + bool not null - + discount_years - + - + int4 not null - + domain_name - + - + text - + redemption_domain_repo_id - + - + text - + token_status_transitions - + - + "hstore" - + token_type - + - + text - + redemption_domain_history_id - + - + int8 - + renewal_price_behavior - + - + text not null - - + + - - billingevent_a57d1815 - + + billingevent_a57d1815 + public.BillingEvent - - + + [table] - + billing_event_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 - + allocation_token - + - + text - + billing_time - + - + timestamptz - + cancellation_matching_billing_recurrence_id - + - + int8 - + cost_amount - + - + numeric(19, 2) - + cost_currency - + - + text - + period_years - + - + int4 - + synthetic_creation_time - + - + timestamptz - + recurrence_history_revision_id - + - + int8 - - + + - - billingevent_a57d1815:w->allocationtoken_a08ccbef:e - - - - - - - + + billingevent_a57d1815:w->allocationtoken_a08ccbef:e + + + + + + + fk_billing_event_allocation_token - + - - billingrecurrence_5fa2cb01 - + + 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 - + flags - + - + _text - + reason - + - + text not null - + domain_name - + - + text not null - + recurrence_end_time - + - + timestamptz - + recurrence_time_of_year - + - + text - + renewal_price_behavior - + - + text not null - + renewal_price_currency - + - + text - + renewal_price_amount - + - + numeric(19, 2) - + recurrence_last_expansion - + - + timestamptz not null - - + + - - billingevent_a57d1815:w->billingrecurrence_5fa2cb01:e - - - - - - - + + billingevent_a57d1815:w->billingrecurrence_5fa2cb01:e + + + + + + + fk_billing_event_cancellation_matching_billing_recurrence_id - + - - domainhistory_a54cc226 - + + 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 - - - - - - - + + billingevent_a57d1815:w->domainhistory_a54cc226:e + + + + + + + fk_billing_event_domain_history - + - - billingevent_a57d1815:w->domainhistory_a54cc226:e - - - - - - - + + billingevent_a57d1815:w->domainhistory_a54cc226:e + + + + + + + fk_billing_event_domain_history - + - - billingevent_a57d1815:w->domainhistory_a54cc226:e - - - - - - - + + billingevent_a57d1815:w->domainhistory_a54cc226:e + + + + + + + fk_billing_event_recurrence_history - + - - billingevent_a57d1815:w->domainhistory_a54cc226:e - - - - - - - + + billingevent_a57d1815:w->domainhistory_a54cc226:e + + + + + + + fk_billing_event_recurrence_history - + - - registrar_6e1503e3 - + + 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 - - - - - - - + + billingevent_a57d1815:w->registrar_6e1503e3:e + + + + + + + fk_billing_event_registrar_id - + - - billingcancellation_6eedf614 - + + 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 - - - - - - - + + billingcancellation_6eedf614:w->billingevent_a57d1815:e + + + + + + + fk_billing_cancellation_billing_event_id - + - - billingcancellation_6eedf614:w->billingrecurrence_5fa2cb01:e - - - - - - - + + billingcancellation_6eedf614:w->billingrecurrence_5fa2cb01:e + + + + + + + fk_billing_cancellation_billing_recurrence_id - + - - billingcancellation_6eedf614:w->domainhistory_a54cc226:e - - - - - - - + + billingcancellation_6eedf614:w->domainhistory_a54cc226:e + + + + + + + fk_billing_cancellation_domain_history - + - - billingcancellation_6eedf614:w->domainhistory_a54cc226:e - - - - - - - + + billingcancellation_6eedf614:w->domainhistory_a54cc226:e + + + + + + + fk_billing_cancellation_domain_history - + - - billingcancellation_6eedf614:w->registrar_6e1503e3:e - - - - - - - + + billingcancellation_6eedf614:w->registrar_6e1503e3:e + + + + + + + fk_billing_cancellation_registrar_id - + - - domain_6c51cffa - + + 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 - - - - - - - + + domain_6c51cffa:w->billingevent_a57d1815:e + + + + + + + fk_domain_transfer_billing_event_id - + - - domain_6c51cffa:w->billingcancellation_6eedf614:e - - - - - - - + + domain_6c51cffa:w->billingcancellation_6eedf614:e + + + + + + + fk_domain_transfer_billing_cancellation_id - + - - domain_6c51cffa:w->billingrecurrence_5fa2cb01:e - - - - - - - + + domain_6c51cffa:w->billingrecurrence_5fa2cb01:e + + + + + + + fk_domain_billing_recurrence_id - + - - domain_6c51cffa:w->billingrecurrence_5fa2cb01:e - - - - - - - + + domain_6c51cffa:w->billingrecurrence_5fa2cb01:e + + + + + + + fk_domain_transfer_billing_recurrence_id - + - - contact_8de8cb16 - + + 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 - - - - - - - + + domain_6c51cffa:w->contact_8de8cb16:e + + + + + + + fk_domain_admin_contact - + - - domain_6c51cffa:w->contact_8de8cb16:e - - - - - - - + + domain_6c51cffa:w->contact_8de8cb16:e + + + + + + + fk_domain_billing_contact - + - - domain_6c51cffa:w->contact_8de8cb16:e - - - - - - - + + domain_6c51cffa:w->contact_8de8cb16:e + + + + + + + fk_domain_registrant_contact - + - - domain_6c51cffa:w->contact_8de8cb16:e - - - - - - - + + domain_6c51cffa:w->contact_8de8cb16:e + + + + + + + fk_domain_tech_contact - + - - domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - + + domain_6c51cffa:w->registrar_6e1503e3:e + + + + + + + fk2jc69qyg2tv9hhnmif6oa1cx1 - + - - domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - + + domain_6c51cffa:w->registrar_6e1503e3:e + + + + + + + fk2u3srsfbei272093m3b3xwj23 - + - - domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - + + domain_6c51cffa:w->registrar_6e1503e3:e + + + + + + + fkjc0r9r5y1lfbt4gpbqw4wsuvq - + - - domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - + + domain_6c51cffa:w->registrar_6e1503e3:e + + + + + + + fk_domain_transfer_gaining_registrar_id - + - - domain_6c51cffa:w->registrar_6e1503e3:e - - - - - - - + + domain_6c51cffa:w->registrar_6e1503e3:e + + + + + + + fk_domain_transfer_losing_registrar_id - + - - tld_f1fa57e2 - + + 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 - - - - - - - + + domain_6c51cffa:w->tld_f1fa57e2:e + + + + + + + fk_domain_tld - + - - graceperiod_cd3b2e8f - - + + 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 - - - - - - - - + + graceperiod_cd3b2e8f:w->billingevent_a57d1815:e + + + + + + + + fk_grace_period_billing_event_id - + - - graceperiod_cd3b2e8f:w->domain_6c51cffa:e - - - - - - - + + graceperiod_cd3b2e8f:w->domain_6c51cffa:e + + + + + + + fk_grace_period_domain_repo_id - + - - graceperiod_cd3b2e8f:w->billingrecurrence_5fa2cb01:e - - - - - - - - + + graceperiod_cd3b2e8f:w->billingrecurrence_5fa2cb01:e + + + + + + + + fk_grace_period_billing_recurrence_id - + - - graceperiod_cd3b2e8f:w->registrar_6e1503e3:e - - - - - - - + + graceperiod_cd3b2e8f:w->registrar_6e1503e3:e + + + + + + + fk_grace_period_registrar_id - + - - billingrecurrence_5fa2cb01:w->domainhistory_a54cc226:e - - - - - - - + + billingrecurrence_5fa2cb01:w->domainhistory_a54cc226:e + + + + + + + fk_billing_recurrence_domain_history - + - - billingrecurrence_5fa2cb01:w->domainhistory_a54cc226:e - - - - - - - + + billingrecurrence_5fa2cb01:w->domainhistory_a54cc226:e + + + + + + + fk_billing_recurrence_domain_history - + - - billingrecurrence_5fa2cb01:w->registrar_6e1503e3:e - - - - - - - + + billingrecurrence_5fa2cb01:w->registrar_6e1503e3:e + + + + + + + fk_billing_recurrence_registrar_id - + - - claimsentry_105da9f1 - + + claimsentry_105da9f1 + public.ClaimsEntry - - + + [table] - + revision_id - + - + int8 not null - + claim_key - + - + text not null - + domain_label - + - + text not null - - + + - - claimslist_3d49bc2b - + + 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 - - - - - - - + + claimsentry_105da9f1:w->claimslist_3d49bc2b:e + + + + + + + fk6sc6at5hedffc0nhdcab6ivuq - + - - contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - + + contact_8de8cb16:w->registrar_6e1503e3:e + + + + + + + fk1sfyj7o7954prbn1exk7lpnoe - + - - contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - + + contact_8de8cb16:w->registrar_6e1503e3:e + + + + + + + fk93c185fx7chn68uv7nl6uv2s0 - + - - contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - + + contact_8de8cb16:w->registrar_6e1503e3:e + + + + + + + fkmb7tdiv85863134w1wogtxrb2 - + - - contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - + + contact_8de8cb16:w->registrar_6e1503e3:e + + + + + + + fk_contact_transfer_gaining_registrar_id - + - - contact_8de8cb16:w->registrar_6e1503e3:e - - - - - - - + + contact_8de8cb16:w->registrar_6e1503e3:e + + + + + + + fk_contact_transfer_losing_registrar_id - + - - contacthistory_d2964f8a - + + 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 - - - - - - - + + contacthistory_d2964f8a:w->contact_8de8cb16:e + + + + + + + fk_contact_history_contact_repo_id - + - - contacthistory_d2964f8a:w->registrar_6e1503e3:e - - - - - - - + + contacthistory_d2964f8a:w->registrar_6e1503e3:e + + + + + + + fk_contact_history_registrar_id - + - - pollmessage_614a523e - + + 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 - + - + int8 - + domain_repo_id - + - + text - + domain_history_revision_id - + - + int8 - + event_time - + - + timestamptz not null - + host_repo_id - + - + text - + host_history_revision_id - + - + int8 - + message - + - + text - + transfer_response_contact_id - + - + text - + transfer_response_domain_expiration_time - + - + timestamptz - + transfer_response_domain_name - + - + text - + pending_action_response_action_result - + - + bool - + pending_action_response_name_or_id - + - + text - + pending_action_response_processed_date - + - + timestamptz - + pending_action_response_client_txn_id - + - + text - + pending_action_response_server_txn_id - + - + text - + transfer_response_gaining_registrar_id - + - + text - + transfer_response_losing_registrar_id - + - + text - + transfer_response_pending_transfer_expiration_time - + - + timestamptz - + 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 - - - - - - - + + pollmessage_614a523e:w->domain_6c51cffa:e + + + + + + + fk_poll_message_domain_repo_id - + - - pollmessage_614a523e:w->contact_8de8cb16:e - - - - - - - + + pollmessage_614a523e:w->contact_8de8cb16:e + + + + + + + fk_poll_message_contact_repo_id - + - - pollmessage_614a523e:w->contacthistory_d2964f8a:e - - - - - - - + + pollmessage_614a523e:w->contacthistory_d2964f8a:e + + + + + + + fk_poll_message_contact_history - + - - pollmessage_614a523e:w->contacthistory_d2964f8a:e - - - - - - - + + pollmessage_614a523e:w->contacthistory_d2964f8a:e + + + + + + + fk_poll_message_contact_history - + - - pollmessage_614a523e:w->domainhistory_a54cc226:e - - - - - - - + + pollmessage_614a523e:w->domainhistory_a54cc226:e + + + + + + + fk_poll_message_domain_history - + - - pollmessage_614a523e:w->domainhistory_a54cc226:e - - - - - - - + + pollmessage_614a523e:w->domainhistory_a54cc226:e + + + + + + + fk_poll_message_domain_history - + - - host_f21b78de - + + 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 - - - - - - - + + pollmessage_614a523e:w->host_f21b78de:e + + + + + + + fk_poll_message_host_repo_id - + - - hosthistory_56210c2 - + + 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 - + history_requested_by_registrar - + - + bool - + history_client_transaction_id - + - + text - + history_server_transaction_id - + - + text - + history_type - + - + text not null - + history_xml_bytes - + - + bytea - + host_name - + - + text - + inet_addresses - + - + _text - + last_superordinate_change - + - + timestamptz - + last_transfer_time - + - + timestamptz - + superordinate_domain - + - + 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 - + host_repo_id - + - + text not null - + update_timestamp - + - + timestamptz - + transfer_poll_message_id_3 - + - + int8 - - + + - - pollmessage_614a523e:w->hosthistory_56210c2:e - - - - - - - + + pollmessage_614a523e:w->hosthistory_56210c2:e + + + + + + + fk_poll_message_host_history - + - - pollmessage_614a523e:w->hosthistory_56210c2:e - - - - - - - + + pollmessage_614a523e:w->hosthistory_56210c2:e + + + + + + + fk_poll_message_host_history - + - - pollmessage_614a523e:w->registrar_6e1503e3:e - - - - - - - + + pollmessage_614a523e:w->registrar_6e1503e3:e + + + + + + + fk_poll_message_registrar_id - + - - pollmessage_614a523e:w->registrar_6e1503e3:e - - - - - - - - + + pollmessage_614a523e:w->registrar_6e1503e3:e + + + + + + + + fk_poll_message_transfer_response_gaining_registrar_id - + - - pollmessage_614a523e:w->registrar_6e1503e3:e - - - - - - - + + pollmessage_614a523e:w->registrar_6e1503e3:e + + + + + + + fk_poll_message_transfer_response_losing_registrar_id - + - - cursor_6af40e8c - + + 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 - + + 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 - + - + int4 not null - - + + - - delegationsignerdata_e542a872:w->domain_6c51cffa:e - - - - - - - + + delegationsignerdata_e542a872:w->domain_6c51cffa:e + + + + + + + fktr24j9v14ph2mfuw2gsmt12kq - + - - domainhistory_a54cc226:w->domain_6c51cffa:e - - - - - - - + + domainhistory_a54cc226:w->domain_6c51cffa:e + + + + + + + fk_domain_history_domain_repo_id - + - - domainhistory_a54cc226:w->registrar_6e1503e3:e - - - - - - - + + domainhistory_a54cc226:w->registrar_6e1503e3:e + + + + + + + fk_domain_history_registrar_id - + - - domainhost_1ea127c2 - + + domainhost_1ea127c2 + public.DomainHost - - + + [table] - + domain_repo_id - + - + text not null - + host_repo_id - + - + text - - + + - - domainhost_1ea127c2:w->domain_6c51cffa:e - - - - - - - + + domainhost_1ea127c2:w->domain_6c51cffa:e + + + + + + + fkfmi7bdink53swivs390m2btxg - + - - domainhost_1ea127c2:w->host_f21b78de:e - - - - - - - + + domainhost_1ea127c2:w->host_f21b78de:e + + + + + + + fk_domainhost_host_valid - + - - host_f21b78de:w->domain_6c51cffa:e - - - - - - - + + host_f21b78de:w->domain_6c51cffa:e + + + + + + + fk_host_superordinate_domain - + - - host_f21b78de:w->registrar_6e1503e3:e - - - - - - - + + host_f21b78de:w->registrar_6e1503e3:e + + + + + + + fk_host_creation_registrar_id - + - - host_f21b78de:w->registrar_6e1503e3:e - - - - - - - + + host_f21b78de:w->registrar_6e1503e3:e + + + + + + + fk_host_current_sponsor_registrar_id - + - - host_f21b78de:w->registrar_6e1503e3:e - - - - - - - + + host_f21b78de:w->registrar_6e1503e3:e + + + + + + + fk_host_last_epp_update_registrar_id - + - - domaindsdatahistory_995b060d - + + 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 - + - + text - - + + - - domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e - - - - - - - + + domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e + + + + + + + fko4ilgyyfnvppbpuivus565i0j - + - - domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e - - - - - - - + + domaindsdatahistory_995b060d:w->domainhistory_a54cc226:e + + + + + + + fko4ilgyyfnvppbpuivus565i0j - + - - domainhistoryhost_9f3f23ee - + + domainhistoryhost_9f3f23ee + public.DomainHistoryHost - - + + [table] - + domain_history_history_revision_id - + - + int8 not null - + host_repo_id - + - + text - + domain_history_domain_repo_id - + - + text not null - - + + - - domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e - - - - - - - + + domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e + + + + + + + fka9woh3hu8gx5x0vly6bai327n - + - - domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e - - - - - - - + + domainhistoryhost_9f3f23ee:w->domainhistory_a54cc226:e + + + + + + + fka9woh3hu8gx5x0vly6bai327n - + - - domaintransactionrecord_6e77ff61 - + + domaintransactionrecord_6e77ff61 + public.DomainTransactionRecord - - + + [table] - + id - + - + bigserial not null - + - + auto-incremented - + report_amount - + - + int4 not null - + report_field - + - + text not null - + reporting_time - + - + timestamptz not null - + tld - + - + text not null - + domain_repo_id - + - + text - + history_revision_id - + - + int8 - - + + - - domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e - - - - - - - + + domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e + + + + + + + fkcjqe54u72kha71vkibvxhjye7 - + - - domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e - - - - - - - + + domaintransactionrecord_6e77ff61:w->domainhistory_a54cc226:e + + + + + + + fkcjqe54u72kha71vkibvxhjye7 - + - - domaintransactionrecord_6e77ff61:w->tld_f1fa57e2:e - - - - - - - - + + domaintransactionrecord_6e77ff61:w->tld_f1fa57e2:e + + + + + + + + fk_domain_transaction_record_tld - + - - graceperiodhistory_40ccc1f1 - + + 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 - + - + text - + billing_recurrence_domain_repo_id - + - + text - - + + - - graceperiodhistory_40ccc1f1:w->domainhistory_a54cc226:e - - - - - - - + + graceperiodhistory_40ccc1f1:w->domainhistory_a54cc226:e + + + + + + + fk7w3cx8d55q8bln80e716tr7b8 - + - - graceperiodhistory_40ccc1f1:w->domainhistory_a54cc226:e - - - - - - - + + graceperiodhistory_40ccc1f1:w->domainhistory_a54cc226:e + + + + + + + fk7w3cx8d55q8bln80e716tr7b8 - + - - hosthistory_56210c2:w->host_f21b78de:e - - - - - - - + + hosthistory_56210c2:w->host_f21b78de:e + + + + + + + fk_hosthistory_host - + - - hosthistory_56210c2:w->registrar_6e1503e3:e - - - - - - - + + hosthistory_56210c2:w->registrar_6e1503e3:e + + + + + + + fk_history_registrar_id - + - - lock_f21d4861 - - + + 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 - - + + premiumentry_b0060b91 + + public.PremiumEntry - - - + + + [table] - - + + revision_id - - - - + + + + int8 not null - - + + price - - - - + + + + numeric(19, 2) not null - - + + domain_label - - - - + + + + text not null - - + + - - premiumlist_7c3ea68b - - + + 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 - - - - - - - - + + premiumentry_b0060b91:w->premiumlist_7c3ea68b:e + + + + + + + + fko0gw90lpo1tuee56l0nb6y6g5 - + - - rderevision_83396864 - - + + 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 - + + registrarpoc_ab47054d + public.RegistrarPoc - - + + [table] - + email_address - + - + text not null - + allowed_to_set_registry_lock_password - + - + bool not null - + fax_number - + - + text - + gae_user_id - + - + text - + name - + - + text - + phone_number - + - + text - + registry_lock_password_hash - + - + text - + registry_lock_password_salt - + - + text - + types - + - + _text - + visible_in_domain_whois_as_abuse - + - + bool not null - + visible_in_whois_as_admin - + - + bool not null - + visible_in_whois_as_tech - + - + bool not null - + registry_lock_email_address - + - + text - + registrar_id - + - + text not null - - + + - - registrarpoc_ab47054d:w->registrar_6e1503e3:e - - - - - - - + + registrarpoc_ab47054d:w->registrar_6e1503e3:e + + + + + + + fk_registrar_poc_registrar_id - + - - registrylock_ac88663e - - + + 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 - - - - - - - - + + registrylock_ac88663e:w->registrylock_ac88663e:e + + + + + + + + fk2lhcwpxlnqijr96irylrh1707 - + - - reservedentry_1a7b8520 - - + + reservedentry_1a7b8520 + + public.ReservedEntry - - - + + + [table] - - + + revision_id - - - - + + + + int8 not null - - + + comment - - - - + + + + text - - + + reservation_type - - - - + + + + int4 not null - - + + domain_label - - - - + + + + text not null - - + + - - reservedlist_b97c3f1c - - + + 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 - - - - - - - - + + reservedentry_1a7b8520:w->reservedlist_b97c3f1c:e + + + + + + + + fkgq03rk0bt1hb915dnyvd3vnfc - + - - serversecret_6cc90f09 - - + + serversecret_6cc90f09 + + public.ServerSecret - - - + + + [table] - - + + secret - - - - + + + + uuid not null - - + + id - - - - + + + + int8 not null - - + + - - signedmarkrevocationentry_99c39721 - - + + signedmarkrevocationentry_99c39721 + + public.SignedMarkRevocationEntry - - - + + + [table] - - + + revision_id - - - - + + + + int8 not null - - + + revocation_time - - - - + + + + timestamptz not null - - + + smd_id - - - - + + + + text not null - - + + - - signedmarkrevocationlist_c5d968fb - - + + signedmarkrevocationlist_c5d968fb + + public.SignedMarkRevocationList - - - + + + [table] - - + + revision_id - - - - + + + + bigserial not null - - - - + + + + auto-incremented - - + + creation_time - - - - + + + + timestamptz - - + + - - signedmarkrevocationentry_99c39721:w->signedmarkrevocationlist_c5d968fb:e - - - - - - - - + + signedmarkrevocationentry_99c39721:w->signedmarkrevocationlist_c5d968fb:e + + + + + + + + fk5ivlhvs3121yx2li5tqh54u4 - + - - spec11threatmatch_a61228a6 - - + + 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 - - + + - - sqlreplaycheckpoint_342081b3 - - + + sqlreplaycheckpoint_342081b3 + + public.SqlReplayCheckpoint - - - + + + [table] - - + + id - - - - + + + + int8 not null - - + + last_replay_time - - - - + + + + timestamptz not null - - + + - - tmchcrl_d282355 - - + + 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 - - + + transaction_d50389d4 + + public.Transaction - - - + + + [table] - - + + id - - - - + + + + bigserial not null - - - - + + + + auto-incremented - - + + contents - - - - + + + + bytea - - + + - - -

Tables

- - + + +

Tables

+
public.AllocationToken[table] -
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.AllocationToken [table] +
tokentext not null
update_timestamptimestamptz
allowed_registrar_ids_text
allowed_tlds_text
creation_timetimestamptz not null
discount_fractionfloat8(17, 17) not null
discount_premiumsbool not null
discount_yearsint4 not null
domain_nametext
redemption_domain_repo_idtext
token_status_transitions"hstore"
token_typetext
redemption_domain_history_idint8
renewal_price_behaviortext not null
Primary Key
AllocationToken_pkey[primary key]
token
Foreign Keys
fk_billing_event_allocation_token[foreign key, with no action]
token ←(0..many) public.BillingEvent.allocation_token
Indexes
allocation_token_domain_name_idx[non-unique index]
domain_nameascending
idxtmlqd31dpvvd2g1h9i7erw6aj[non-unique index]
redemption_domain_repo_idascending
AllocationToken_pkey[unique index]
tokenascending
idx9g3s7mjv1yn4t06nqid39whss[non-unique index]
token_typeascending
tokentext not null
update_timestamptimestamptz
allowed_registrar_ids_text
allowed_tlds_text
creation_timetimestamptz not null
discount_fractionfloat8(17, 17) not null
discount_premiumsbool not null
discount_yearsint4 not null
domain_nametext
redemption_domain_repo_idtext
token_status_transitions"hstore"
token_typetext
redemption_domain_history_idint8
renewal_price_behaviortext not null
Primary Key
AllocationToken_pkey[primary key]
token
Foreign Keys
fk_billing_event_allocation_token[foreign key, with no action]
token ←(0..many) public.BillingEvent.allocation_token
Indexes
allocation_token_domain_name_idx[non-unique index]
domain_nameascending
idxtmlqd31dpvvd2g1h9i7erw6aj[non-unique index]
redemption_domain_repo_idascending
AllocationToken_pkey[unique index]
tokenascending
idx9g3s7mjv1yn4t06nqid39whss[non-unique index]
token_typeascending
-

 

- - +
public.BillingCancellation[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.BillingCancellation [table] +
billing_cancellation_idint8 not null
registrar_idtext not null
domain_history_revision_idint8 not null
domain_repo_idtext not null
event_timetimestamptz not null
flags_text
reasontext not null
domain_nametext not null
billing_timetimestamptz
billing_event_idint8
billing_recurrence_idint8
billing_event_history_idint8
billing_event_domain_repo_idtext
billing_recurrence_history_idint8
billing_recurrence_domain_repo_idtext
Primary Key
BillingCancellation_pkey[primary key]
billing_cancellation_id
Foreign Keys
fk_domain_transfer_billing_cancellation_id[foreign key, with no action]
billing_cancellation_id ←(0..many) public.Domain.transfer_billing_cancellation_id
fk_billing_cancellation_billing_event_id[foreign key, with no action]
billing_event_id (0..many)→ public.BillingEvent.billing_event_id
fk_billing_cancellation_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_billing_cancellation_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_cancellation_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
Indexes
BillingCancellation_pkey[unique index]
billing_cancellation_idascending
idx4ytbe5f3b39trsd4okx5ijhs4[non-unique index]
billing_event_idascending
idxku0fopwyvd57ebo8bf0jg9xo2[non-unique index]
billing_recurrence_idascending
idxl8vobbecsd32k4ksavdfx8st6[non-unique index]
domain_repo_idascending
idxeokttmxtpq2hohcioe5t2242b[non-unique index]
registrar_idascending
idxqa3g92jc17e8dtiaviy4fet4x[non-unique index]
billing_timeascending
idx2exdfbx6oiiwnhr8j6gjpqt2j[non-unique index]
event_timeascending
billing_cancellation_idint8 not null
registrar_idtext not null
domain_history_revision_idint8 not null
domain_repo_idtext not null
event_timetimestamptz not null
flags_text
reasontext not null
domain_nametext not null
billing_timetimestamptz
billing_event_idint8
billing_recurrence_idint8
billing_event_history_idint8
billing_event_domain_repo_idtext
billing_recurrence_history_idint8
billing_recurrence_domain_repo_idtext
Primary Key
BillingCancellation_pkey[primary key]
billing_cancellation_id
Foreign Keys
fk_domain_transfer_billing_cancellation_id[foreign key, with no action]
billing_cancellation_id ←(0..many) public.Domain.transfer_billing_cancellation_id
fk_billing_cancellation_billing_event_id[foreign key, with no action]
billing_event_id (0..many)→ public.BillingEvent.billing_event_id
fk_billing_cancellation_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_billing_cancellation_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_cancellation_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
Indexes
BillingCancellation_pkey[unique index]
billing_cancellation_idascending
idx4ytbe5f3b39trsd4okx5ijhs4[non-unique index]
billing_event_idascending
idxku0fopwyvd57ebo8bf0jg9xo2[non-unique index]
billing_recurrence_idascending
idxl8vobbecsd32k4ksavdfx8st6[non-unique index]
domain_repo_idascending
idxeokttmxtpq2hohcioe5t2242b[non-unique index]
registrar_idascending
idxqa3g92jc17e8dtiaviy4fet4x[non-unique index]
billing_timeascending
idx2exdfbx6oiiwnhr8j6gjpqt2j[non-unique index]
event_timeascending
-

 

- - +
public.BillingEvent[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.BillingEvent [table] +
billing_event_idint8 not null
registrar_idtext not null
domain_history_revision_idint8 not null
domain_repo_idtext not null
event_timetimestamptz not null
flags_text
reasontext not null
domain_nametext not null
allocation_tokentext
billing_timetimestamptz
cancellation_matching_billing_recurrence_idint8
cost_amountnumeric(19, 2)
cost_currencytext
period_yearsint4
synthetic_creation_timetimestamptz
recurrence_history_revision_idint8
Primary Key
BillingEvent_pkey[primary key]
billing_event_id
Foreign Keys
fk_billing_event_allocation_token[foreign key, with no action]
allocation_token (0..many)→ public.AllocationToken.token
fk_billing_cancellation_billing_event_id[foreign key, with no action]
billing_event_id ←(0..many) public.BillingCancellation.billing_event_id
fk_domain_transfer_billing_event_id[foreign key, with no action]
billing_event_id ←(0..many) public.Domain.transfer_billing_event_id
fk_grace_period_billing_event_id[foreign key, with no action]
billing_event_id ←(0..many) public.GracePeriod.billing_event_id
fk_billing_event_cancellation_matching_billing_recurrence_id[foreign key, with no action]
cancellation_matching_billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_billing_event_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_event_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
fk_billing_event_recurrence_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
recurrence_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
Indexes
BillingEvent_pkey[unique index]
billing_event_idascending
idx6ebt3nwk5ocvnremnhnlkl6ff[non-unique index]
cancellation_matching_billing_recurrence_idascending
idxhmv411mdqo5ibn4vy7ykxpmlv[non-unique index]
allocation_tokenascending
idxbgfmveqa7e5hn689koikwn70r[non-unique index]
domain_repo_idascending
idx73l103vc5900ig3p4odf0cngt[non-unique index]
registrar_idascending
idx6py6ocrab0ivr76srcd2okpnq[non-unique index]
billing_timeascending
idx5yfbr88439pxw0v3j86c74fp8[non-unique index]
event_timeascending
idxplxf9v56p0wg8ws6qsvd082hk[non-unique index]
synthetic_creation_timeascending
billing_event_idint8 not null
registrar_idtext not null
domain_history_revision_idint8 not null
domain_repo_idtext not null
event_timetimestamptz not null
flags_text
reasontext not null
domain_nametext not null
allocation_tokentext
billing_timetimestamptz
cancellation_matching_billing_recurrence_idint8
cost_amountnumeric(19, 2)
cost_currencytext
period_yearsint4
synthetic_creation_timetimestamptz
recurrence_history_revision_idint8
Primary Key
BillingEvent_pkey[primary key]
billing_event_id
Foreign Keys
fk_billing_event_allocation_token[foreign key, with no action]
allocation_token (0..many)→ public.AllocationToken.token
fk_billing_cancellation_billing_event_id[foreign key, with no action]
billing_event_id ←(0..many) public.BillingCancellation.billing_event_id
fk_domain_transfer_billing_event_id[foreign key, with no action]
billing_event_id ←(0..many) public.Domain.transfer_billing_event_id
fk_grace_period_billing_event_id[foreign key, with no action]
billing_event_id ←(0..many) public.GracePeriod.billing_event_id
fk_billing_event_cancellation_matching_billing_recurrence_id[foreign key, with no action]
cancellation_matching_billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_billing_event_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_event_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
fk_billing_event_recurrence_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
recurrence_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
Indexes
BillingEvent_pkey[unique index]
billing_event_idascending
idx6ebt3nwk5ocvnremnhnlkl6ff[non-unique index]
cancellation_matching_billing_recurrence_idascending
idxhmv411mdqo5ibn4vy7ykxpmlv[non-unique index]
allocation_tokenascending
idxbgfmveqa7e5hn689koikwn70r[non-unique index]
domain_repo_idascending
idx73l103vc5900ig3p4odf0cngt[non-unique index]
registrar_idascending
idx6py6ocrab0ivr76srcd2okpnq[non-unique index]
billing_timeascending
idx5yfbr88439pxw0v3j86c74fp8[non-unique index]
event_timeascending
idxplxf9v56p0wg8ws6qsvd082hk[non-unique index]
synthetic_creation_timeascending
-

 

- - +
public.BillingRecurrence[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.BillingRecurrence [table] +
billing_recurrence_idint8 not null
registrar_idtext not null
domain_history_revision_idint8 not null
domain_repo_idtext not null
event_timetimestamptz not null
flags_text
reasontext not null
domain_nametext not null
recurrence_end_timetimestamptz
recurrence_time_of_yeartext
renewal_price_behaviortext not null
renewal_price_currencytext
renewal_price_amountnumeric(19, 2)
recurrence_last_expansiontimestamptz not null
Primary Key
BillingRecurrence_pkey[primary key]
billing_recurrence_id
Foreign Keys
fk_billing_cancellation_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.BillingCancellation.billing_recurrence_id
fk_billing_event_cancellation_matching_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.BillingEvent.cancellation_matching_billing_recurrence_id
fk_domain_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.Domain.billing_recurrence_id
fk_domain_transfer_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.Domain.transfer_billing_recurrence_id
fk_grace_period_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.GracePeriod.billing_recurrence_id
fk_billing_recurrence_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_recurrence_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
Indexes
BillingRecurrence_pkey[unique index]
billing_recurrence_idascending
idxoqttafcywwdn41um6kwlt0n8b[non-unique index]
domain_repo_idascending
idxjny8wuot75b5e6p38r47wdawu[non-unique index]
recurrence_time_of_yearascending
idxn898pb9mwcg359cdwvolb11ck[non-unique index]
registrar_idascending
idx6syykou4nkc7hqa5p8r92cpch[non-unique index]
event_timeascending
idxp3usbtvk0v1m14i5tdp4xnxgc[non-unique index]
recurrence_end_timeascending
idxp0pxi708hlu4n40qhbtihge8x[non-unique index]
recurrence_last_expansionascending
billing_recurrence_idint8 not null
registrar_idtext not null
domain_history_revision_idint8 not null
domain_repo_idtext not null
event_timetimestamptz not null
flags_text
reasontext not null
domain_nametext not null
recurrence_end_timetimestamptz
recurrence_time_of_yeartext
renewal_price_behaviortext not null
renewal_price_currencytext
renewal_price_amountnumeric(19, 2)
recurrence_last_expansiontimestamptz not null
Primary Key
BillingRecurrence_pkey[primary key]
billing_recurrence_id
Foreign Keys
fk_billing_cancellation_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.BillingCancellation.billing_recurrence_id
fk_billing_event_cancellation_matching_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.BillingEvent.cancellation_matching_billing_recurrence_id
fk_domain_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.Domain.billing_recurrence_id
fk_domain_transfer_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.Domain.transfer_billing_recurrence_id
fk_grace_period_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id ←(0..many) public.GracePeriod.billing_recurrence_id
fk_billing_recurrence_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_recurrence_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
Indexes
BillingRecurrence_pkey[unique index]
billing_recurrence_idascending
idxoqttafcywwdn41um6kwlt0n8b[non-unique index]
domain_repo_idascending
idxjny8wuot75b5e6p38r47wdawu[non-unique index]
recurrence_time_of_yearascending
idxn898pb9mwcg359cdwvolb11ck[non-unique index]
registrar_idascending
idx6syykou4nkc7hqa5p8r92cpch[non-unique index]
event_timeascending
idxp3usbtvk0v1m14i5tdp4xnxgc[non-unique index]
recurrence_end_timeascending
idxp0pxi708hlu4n40qhbtihge8x[non-unique index]
recurrence_last_expansionascending
-

 

- - +
public.ClaimsEntry[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.ClaimsEntry [table] +
revision_idint8 not null
claim_keytext not null
domain_labeltext not null
Primary Key
ClaimsEntry_pkey[primary key]
revision_id
domain_label
Foreign Keys
fk6sc6at5hedffc0nhdcab6ivuq[foreign key, with no action]
revision_id (0..many)→ public.ClaimsList.revision_id
Indexes
ClaimsEntry_pkey[unique index]
revision_idascending
domain_labelascending
revision_idint8 not null
claim_keytext not null
domain_labeltext not null
Primary Key
ClaimsEntry_pkey[primary key]
revision_id
domain_label
Foreign Keys
fk6sc6at5hedffc0nhdcab6ivuq[foreign key, with no action]
revision_id (0..many)→ public.ClaimsList.revision_id
Indexes
ClaimsEntry_pkey[unique index]
revision_idascending
domain_labelascending
-

 

- - +
public.ClaimsList[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.ClaimsList [table] +
revision_idbigserial not null
auto-incremented
creation_timestamptimestamptz not null
tmdb_generation_timetimestamptz not null
Primary Key
ClaimsList_pkey[primary key]
revision_id
Foreign Keys
fk6sc6at5hedffc0nhdcab6ivuq[foreign key, with no action]
revision_id ←(0..many) public.ClaimsEntry.revision_id
Indexes
ClaimsList_pkey[unique index]
revision_idascending
revision_idbigserial not null
auto-incremented
creation_timestamptimestamptz not null
tmdb_generation_timetimestamptz not null
Primary Key
ClaimsList_pkey[primary key]
revision_id
Foreign Keys
fk6sc6at5hedffc0nhdcab6ivuq[foreign key, with no action]
revision_id ←(0..many) public.ClaimsEntry.revision_id
Indexes
ClaimsList_pkey[unique index]
revision_idascending
-

 

- - +
public.Contact[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.Contact [table] +
repo_idtext not null
creation_registrar_idtext not null
creation_timetimestamptz not null
current_sponsor_registrar_idtext not null
deletion_timetimestamptz
last_epp_update_registrar_idtext
last_epp_update_timetimestamptz
statuses_text
auth_info_repo_idtext
auth_info_valuetext
contact_idtext
disclose_types_addr_text
disclose_show_emailbool
disclose_show_faxbool
disclose_mode_flagbool
disclose_types_name_text
disclose_types_org_text
disclose_show_voicebool
emailtext
fax_phone_extensiontext
fax_phone_numbertext
addr_i18n_citytext
addr_i18n_country_codetext
addr_i18n_statetext
addr_i18n_street_line1text
addr_i18n_street_line2text
addr_i18n_street_line3text
addr_i18n_ziptext
addr_i18n_nametext
addr_i18n_orgtext
addr_i18n_typetext
last_transfer_timetimestamptz
addr_local_citytext
addr_local_country_codetext
addr_local_statetext
addr_local_street_line1text
addr_local_street_line2text
addr_local_street_line3text
addr_local_ziptext
addr_local_nametext
addr_local_orgtext
addr_local_typetext
search_nametext
voice_phone_extensiontext
voice_phone_numbertext
transfer_poll_message_id_1int8
transfer_poll_message_id_2int8
transfer_client_txn_idtext
transfer_server_txn_idtext
transfer_gaining_registrar_idtext
transfer_losing_registrar_idtext
transfer_pending_expiration_timetimestamptz
transfer_request_timetimestamptz
transfer_statustext
update_timestamptimestamptz
transfer_history_entry_idint8
transfer_repo_idtext
transfer_poll_message_id_3int8
Primary Key
Contact_pkey[primary key]
repo_id
Foreign Keys
fk_contact_history_contact_repo_id[foreign key, with no action]
repo_id ←(0..many) public.ContactHistory.contact_repo_id
fk_domain_admin_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.admin_contact
fk_domain_billing_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.billing_contact
fk_domain_registrant_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.registrant_contact
fk_domain_tech_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.tech_contact
fk_poll_message_contact_repo_id[foreign key, with no action]
repo_id ←(0..many) public.PollMessage.contact_repo_id
fk1sfyj7o7954prbn1exk7lpnoe[foreign key, with no action]
creation_registrar_id (0..many)→ public.Registrar.registrar_id
fk93c185fx7chn68uv7nl6uv2s0[foreign key, with no action]
current_sponsor_registrar_id (0..many)→ public.Registrar.registrar_id
fkmb7tdiv85863134w1wogtxrb2[foreign key, with no action]
last_epp_update_registrar_id (0..many)→ public.Registrar.registrar_id
fk_contact_transfer_gaining_registrar_id[foreign key, with no action]
transfer_gaining_registrar_id (0..many)→ public.Registrar.registrar_id
fk_contact_transfer_losing_registrar_id[foreign key, with no action]
transfer_losing_registrar_id (0..many)→ public.Registrar.registrar_id
Indexes
idxoqd7n4hbx86hvlgkilq75olas[non-unique index]
contact_idascending
idxbn8t4wp85fgxjl8q4ctlscx55[non-unique index]
current_sponsor_registrar_idascending
Contact_pkey[unique index]
repo_idascending
idx1p3esngcwwu6hstyua6itn6ff[non-unique index]
search_nameascending
idx3y752kr9uh4kh6uig54vemx0l[non-unique index]
creation_timeascending
idxn1f711wicdnooa2mqb7g1m55o[non-unique index]
deletion_timeascending
repo_idtext not null
creation_registrar_idtext not null
creation_timetimestamptz not null
current_sponsor_registrar_idtext not null
deletion_timetimestamptz
last_epp_update_registrar_idtext
last_epp_update_timetimestamptz
statuses_text
auth_info_repo_idtext
auth_info_valuetext
contact_idtext
disclose_types_addr_text
disclose_show_emailbool
disclose_show_faxbool
disclose_mode_flagbool
disclose_types_name_text
disclose_types_org_text
disclose_show_voicebool
emailtext
fax_phone_extensiontext
fax_phone_numbertext
addr_i18n_citytext
addr_i18n_country_codetext
addr_i18n_statetext
addr_i18n_street_line1text
addr_i18n_street_line2text
addr_i18n_street_line3text
addr_i18n_ziptext
addr_i18n_nametext
addr_i18n_orgtext
addr_i18n_typetext
last_transfer_timetimestamptz
addr_local_citytext
addr_local_country_codetext
addr_local_statetext
addr_local_street_line1text
addr_local_street_line2text
addr_local_street_line3text
addr_local_ziptext
addr_local_nametext
addr_local_orgtext
addr_local_typetext
search_nametext
voice_phone_extensiontext
voice_phone_numbertext
transfer_poll_message_id_1int8
transfer_poll_message_id_2int8
transfer_client_txn_idtext
transfer_server_txn_idtext
transfer_gaining_registrar_idtext
transfer_losing_registrar_idtext
transfer_pending_expiration_timetimestamptz
transfer_request_timetimestamptz
transfer_statustext
update_timestamptimestamptz
transfer_history_entry_idint8
transfer_repo_idtext
transfer_poll_message_id_3int8
Primary Key
Contact_pkey[primary key]
repo_id
Foreign Keys
fk_contact_history_contact_repo_id[foreign key, with no action]
repo_id ←(0..many) public.ContactHistory.contact_repo_id
fk_domain_admin_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.admin_contact
fk_domain_billing_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.billing_contact
fk_domain_registrant_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.registrant_contact
fk_domain_tech_contact[foreign key, with no action]
repo_id ←(0..many) public.Domain.tech_contact
fk_poll_message_contact_repo_id[foreign key, with no action]
repo_id ←(0..many) public.PollMessage.contact_repo_id
fk1sfyj7o7954prbn1exk7lpnoe[foreign key, with no action]
creation_registrar_id (0..many)→ public.Registrar.registrar_id
fk93c185fx7chn68uv7nl6uv2s0[foreign key, with no action]
current_sponsor_registrar_id (0..many)→ public.Registrar.registrar_id
fkmb7tdiv85863134w1wogtxrb2[foreign key, with no action]
last_epp_update_registrar_id (0..many)→ public.Registrar.registrar_id
fk_contact_transfer_gaining_registrar_id[foreign key, with no action]
transfer_gaining_registrar_id (0..many)→ public.Registrar.registrar_id
fk_contact_transfer_losing_registrar_id[foreign key, with no action]
transfer_losing_registrar_id (0..many)→ public.Registrar.registrar_id
Indexes
idxoqd7n4hbx86hvlgkilq75olas[non-unique index]
contact_idascending
idxbn8t4wp85fgxjl8q4ctlscx55[non-unique index]
current_sponsor_registrar_idascending
Contact_pkey[unique index]
repo_idascending
idx1p3esngcwwu6hstyua6itn6ff[non-unique index]
search_nameascending
idx3y752kr9uh4kh6uig54vemx0l[non-unique index]
creation_timeascending
idxn1f711wicdnooa2mqb7g1m55o[non-unique index]
deletion_timeascending
-

 

- - +
public.ContactHistory[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.ContactHistory [table] +
history_revision_idint8 not null
history_by_superuserbool not null
history_registrar_idtext
history_modification_timetimestamptz not null
history_reasontext
history_requested_by_registrarbool
history_client_transaction_idtext
history_server_transaction_idtext
history_typetext not null
history_xml_bytesbytea
auth_info_repo_idtext
auth_info_valuetext
contact_idtext
disclose_types_addr_text
disclose_show_emailbool
disclose_show_faxbool
disclose_mode_flagbool
disclose_types_name_text
disclose_types_org_text
disclose_show_voicebool
emailtext
fax_phone_extensiontext
fax_phone_numbertext
addr_i18n_citytext
addr_i18n_country_codetext
addr_i18n_statetext
addr_i18n_street_line1text
addr_i18n_street_line2text
addr_i18n_street_line3text
addr_i18n_ziptext
addr_i18n_nametext
addr_i18n_orgtext
addr_i18n_typetext
last_transfer_timetimestamptz
addr_local_citytext
addr_local_country_codetext
addr_local_statetext
addr_local_street_line1text
addr_local_street_line2text
addr_local_street_line3text
addr_local_ziptext
addr_local_nametext
addr_local_orgtext
addr_local_typetext
search_nametext
transfer_poll_message_id_1int8
transfer_poll_message_id_2int8
transfer_client_txn_idtext
transfer_server_txn_idtext
transfer_gaining_registrar_idtext
transfer_losing_registrar_idtext
transfer_pending_expiration_timetimestamptz
transfer_request_timetimestamptz
transfer_statustext
voice_phone_extensiontext
voice_phone_numbertext
creation_registrar_idtext
creation_timetimestamptz
current_sponsor_registrar_idtext
deletion_timetimestamptz
last_epp_update_registrar_idtext
last_epp_update_timetimestamptz
statuses_text
contact_repo_idtext not null
update_timestamptimestamptz
transfer_history_entry_idint8
transfer_repo_idtext
transfer_poll_message_id_3int8
Primary Key
ContactHistory_pkey[primary key]
contact_repo_id
history_revision_id
Foreign Keys
fk_contact_history_contact_repo_id[foreign key, with no action]
contact_repo_id (0..many)→ public.Contact.repo_id
fk_contact_history_registrar_id[foreign key, with no action]
history_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_contact_history[foreign key, with no action]
contact_repo_id ←(0..many) public.PollMessage.contact_repo_id
history_revision_id ←(0..many) public.PollMessage.contact_history_revision_id
Indexes
idxhp33wybmb6tbpr1bq7ttwk8je[non-unique index]
history_registrar_idascending
idx9q53px6r302ftgisqifmc6put[non-unique index]
history_typeascending
idxo1xdtpij2yryh0skxe9v91sep[non-unique index]
creation_timeascending
idxsudwswtwqnfnx2o1hx4s0k0g5[non-unique index]
history_modification_timeascending
ContactHistory_pkey[unique index]
contact_repo_idascending
history_revision_idascending
history_revision_idint8 not null
history_by_superuserbool not null
history_registrar_idtext
history_modification_timetimestamptz not null
history_reasontext
history_requested_by_registrarbool
history_client_transaction_idtext
history_server_transaction_idtext
history_typetext not null
history_xml_bytesbytea
auth_info_repo_idtext
auth_info_valuetext
contact_idtext
disclose_types_addr_text
disclose_show_emailbool
disclose_show_faxbool
disclose_mode_flagbool
disclose_types_name_text
disclose_types_org_text
disclose_show_voicebool
emailtext
fax_phone_extensiontext
fax_phone_numbertext
addr_i18n_citytext
addr_i18n_country_codetext
addr_i18n_statetext
addr_i18n_street_line1text
addr_i18n_street_line2text
addr_i18n_street_line3text
addr_i18n_ziptext
addr_i18n_nametext
addr_i18n_orgtext
addr_i18n_typetext
last_transfer_timetimestamptz
addr_local_citytext
addr_local_country_codetext
addr_local_statetext
addr_local_street_line1text
addr_local_street_line2text
addr_local_street_line3text
addr_local_ziptext
addr_local_nametext
addr_local_orgtext
addr_local_typetext
search_nametext
transfer_poll_message_id_1int8
transfer_poll_message_id_2int8
transfer_client_txn_idtext
transfer_server_txn_idtext
transfer_gaining_registrar_idtext
transfer_losing_registrar_idtext
transfer_pending_expiration_timetimestamptz
transfer_request_timetimestamptz
transfer_statustext
voice_phone_extensiontext
voice_phone_numbertext
creation_registrar_idtext
creation_timetimestamptz
current_sponsor_registrar_idtext
deletion_timetimestamptz
last_epp_update_registrar_idtext
last_epp_update_timetimestamptz
statuses_text
contact_repo_idtext not null
update_timestamptimestamptz
transfer_history_entry_idint8
transfer_repo_idtext
transfer_poll_message_id_3int8
Primary Key
ContactHistory_pkey[primary key]
contact_repo_id
history_revision_id
Foreign Keys
fk_contact_history_contact_repo_id[foreign key, with no action]
contact_repo_id (0..many)→ public.Contact.repo_id
fk_contact_history_registrar_id[foreign key, with no action]
history_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_contact_history[foreign key, with no action]
contact_repo_id ←(0..many) public.PollMessage.contact_repo_id
history_revision_id ←(0..many) public.PollMessage.contact_history_revision_id
Indexes
idxhp33wybmb6tbpr1bq7ttwk8je[non-unique index]
history_registrar_idascending
idx9q53px6r302ftgisqifmc6put[non-unique index]
history_typeascending
idxo1xdtpij2yryh0skxe9v91sep[non-unique index]
creation_timeascending
idxsudwswtwqnfnx2o1hx4s0k0g5[non-unique index]
history_modification_timeascending
ContactHistory_pkey[unique index]
contact_repo_idascending
history_revision_idascending
-

 

- - +
public."Cursor"[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public."Cursor" [table] +
"scope"text not null
typetext not null
cursor_timetimestamptz not null
last_update_timetimestamptz not null
Primary Key
Cursor_pkey[primary key]
"scope"
type
Indexes
Cursor_pkey[unique index]
"scope"ascending
typeascending
"scope"text not null
typetext not null
cursor_timetimestamptz not null
last_update_timetimestamptz not null
Primary Key
Cursor_pkey[primary key]
"scope"
type
Indexes
Cursor_pkey[unique index]
"scope"ascending
typeascending
-

 

- - +
public.DelegationSignerData[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.DatabaseMigrationStateSchedule [table] +
domain_repo_idtext not null
key_tagint4 not null
algorithmint4 not null
digestbytea not null
digest_typeint4 not null
Primary Key
DelegationSignerData_pkey[primary key]
domain_repo_id
key_tag
algorithm
digest_type
digest
Foreign Keys
fktr24j9v14ph2mfuw2gsmt12kq[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
Indexes
idxhlqqd5uy98cjyos72d81x9j95[non-unique index]
domain_repo_idascending
DelegationSignerData_pkey[unique index]
domain_repo_idascending
key_tagascending
algorithmascending
digest_typeascending
digestascending
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
-

 

- - +
public.Domain[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.DelegationSignerData [table] +
repo_idtext not null
creation_registrar_idtext not null
creation_timetimestamptz not null
current_sponsor_registrar_idtext not null
deletion_timetimestamptz
last_epp_update_registrar_idtext
last_epp_update_timetimestamptz
statuses_text
auth_info_repo_idtext
auth_info_valuetext
domain_nametext
idn_table_nametext
last_transfer_timetimestamptz
launch_notice_accepted_timetimestamptz
launch_notice_expiration_timetimestamptz
launch_notice_tcn_idtext
launch_notice_validator_idtext
registration_expiration_timetimestamptz
smd_idtext
subordinate_hosts_text
tldtext
admin_contacttext
billing_contacttext
registrant_contacttext
tech_contacttext
transfer_poll_message_id_1int8
transfer_poll_message_id_2int8
transfer_billing_cancellation_idint8
transfer_billing_event_idint8
transfer_billing_recurrence_idint8
transfer_autorenew_poll_message_idint8
transfer_renew_period_unittext
transfer_renew_period_valueint4
transfer_client_txn_idtext
transfer_server_txn_idtext
transfer_registration_expiration_timetimestamptz
transfer_gaining_registrar_idtext
transfer_losing_registrar_idtext
transfer_pending_expiration_timetimestamptz
transfer_request_timetimestamptz
transfer_statustext
update_timestamptimestamptz
billing_recurrence_idint8
autorenew_poll_message_idint8
deletion_poll_message_idint8
autorenew_end_timetimestamptz
billing_recurrence_history_idint8
autorenew_poll_message_history_idint8
deletion_poll_message_history_idint8
transfer_billing_recurrence_history_idint8
transfer_autorenew_poll_message_history_idint8
transfer_billing_event_history_idint8
transfer_history_entry_idint8
transfer_repo_idtext
transfer_poll_message_id_3int8
transfer_billing_cancellation_history_idint8
dns_refresh_request_timetimestamptz
Primary Key
Domain_pkey[primary key]
repo_id
Foreign Keys
fk_domain_transfer_billing_cancellation_id[foreign key, with no action]
transfer_billing_cancellation_id (0..many)→ public.BillingCancellation.billing_cancellation_id
fk_domain_transfer_billing_event_id[foreign key, with no action]
transfer_billing_event_id (0..many)→ public.BillingEvent.billing_event_id
fk_domain_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_domain_transfer_billing_recurrence_id[foreign key, with no action]
transfer_billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_domain_admin_contact[foreign key, with no action]
admin_contact (0..many)→ public.Contact.repo_id
fk_domain_billing_contact[foreign key, with no action]
billing_contact (0..many)→ public.Contact.repo_id
fk_domain_registrant_contact[foreign key, with no action]
registrant_contact (0..many)→ public.Contact.repo_id
fk_domain_tech_contact[foreign key, with no action]
tech_contact (0..many)→ public.Contact.repo_id
fktr24j9v14ph2mfuw2gsmt12kq[foreign key, with no action]
repo_id ←(0..many) public.DelegationSignerData.domain_repo_id
fk_domain_history_domain_repo_id[foreign key, with no action]
repo_id ←(0..many) public.DomainHistory.domain_repo_id
fkfmi7bdink53swivs390m2btxg[foreign key, with no action]
repo_id ←(0..many) public.DomainHost.domain_repo_id
fk_grace_period_domain_repo_id[foreign key, with no action]
repo_id ←(0..many) public.GracePeriod.domain_repo_id
fk_host_superordinate_domain[foreign key, with no action]
repo_id ←(0..many) public.Host.superordinate_domain
fk_poll_message_domain_repo_id[foreign key, with no action]
repo_id ←(0..many) public.PollMessage.domain_repo_id
fk2jc69qyg2tv9hhnmif6oa1cx1[foreign key, with no action]
creation_registrar_id (0..many)→ public.Registrar.registrar_id
fk2u3srsfbei272093m3b3xwj23[foreign key, with no action]
current_sponsor_registrar_id (0..many)→ public.Registrar.registrar_id
fkjc0r9r5y1lfbt4gpbqw4wsuvq[foreign key, with no action]
last_epp_update_registrar_id (0..many)→ public.Registrar.registrar_id
fk_domain_transfer_gaining_registrar_id[foreign key, with no action]
transfer_gaining_registrar_id (0..many)→ public.Registrar.registrar_id
fk_domain_transfer_losing_registrar_id[foreign key, with no action]
transfer_losing_registrar_id (0..many)→ public.Registrar.registrar_id
fk_domain_tld[foreign key, with no action]
tld (0..many)→ public.Tld.tld_name
Indexes
idxsfci08jgsymxy6ovh4k7r358c[non-unique index]
billing_recurrence_idascending
idx3y3k7m2bkgahm9sixiohgyrga[non-unique index]
transfer_billing_event_idascending
idxcju58vqascbpve1t7fem53ctl[non-unique index]
transfer_billing_recurrence_idascending
idxnb02m43jcx24r64n8rbg22u4q[non-unique index]
admin_contactascending
idxq9gy8x2xynt9tb16yajn1gcm8[non-unique index]
billing_contactascending
idxkjt9yaq92876dstimd93hwckh[non-unique index]
current_sponsor_registrar_idascending
idx1rcgkdd777bpvj0r94sltwd5y[non-unique index]
domain_nameascending
idxa7fu0bqynfb79rr80528b4jqt[non-unique index]
registrant_contactascending
Domain_pkey[unique index]
repo_idascending
idxr22ciyccwi9rrqmt1ro0s59qf[non-unique index]
tech_contactascending
idxrwl38wwkli1j7gkvtywi9jokq[non-unique index]
tldascending
idxlrq7v63pc21uoh3auq6eybyhl[non-unique index]
autorenew_end_timeascending
idx8nr0ke9mrrx4ewj6pd2ag4rmr[non-unique index]
creation_timeascending
idx5mnf0wn20tno4b9do88j61klr[non-unique index]
deletion_timeascending
domain_dns_refresh_request_time_idx[non-unique index]
dns_refresh_request_timeascending
domain_repo_idtext not null
key_tagint4 not null
algorithmint4 not null
digestbytea not null
digest_typeint4 not null
Primary Key
DelegationSignerData_pkey[primary key]
domain_repo_id
key_tag
algorithm
digest_type
digest
Foreign Keys
fktr24j9v14ph2mfuw2gsmt12kq[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
Indexes
idxhlqqd5uy98cjyos72d81x9j95[non-unique index]
domain_repo_idascending
DelegationSignerData_pkey[unique index]
domain_repo_idascending
key_tagascending
algorithmascending
digest_typeascending
digestascending
-

 

- - +
public.DomainDsDataHistory[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.Domain [table] +
ds_data_history_revision_idint8 not null
algorithmint4 not null
digestbytea not null
digest_typeint4 not null
domain_history_revision_idint8 not null
key_tagint4 not null
domain_repo_idtext
Primary Key
DomainDsDataHistory_pkey[primary key]
ds_data_history_revision_id
Foreign Keys
fko4ilgyyfnvppbpuivus565i0j[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
Indexes
DomainDsDataHistory_pkey[unique index]
ds_data_history_revision_idascending
domain_history_to_ds_data_history_idx[non-unique index]
domain_repo_idascending
domain_history_revision_idascending
repo_idtext not null
creation_registrar_idtext not null
creation_timetimestamptz not null
current_sponsor_registrar_idtext not null
deletion_timetimestamptz
last_epp_update_registrar_idtext
last_epp_update_timetimestamptz
statuses_text
auth_info_repo_idtext
auth_info_valuetext
domain_nametext
idn_table_nametext
last_transfer_timetimestamptz
launch_notice_accepted_timetimestamptz
launch_notice_expiration_timetimestamptz
launch_notice_tcn_idtext
launch_notice_validator_idtext
registration_expiration_timetimestamptz
smd_idtext
subordinate_hosts_text
tldtext
admin_contacttext
billing_contacttext
registrant_contacttext
tech_contacttext
transfer_poll_message_id_1int8
transfer_poll_message_id_2int8
transfer_billing_cancellation_idint8
transfer_billing_event_idint8
transfer_billing_recurrence_idint8
transfer_autorenew_poll_message_idint8
transfer_renew_period_unittext
transfer_renew_period_valueint4
transfer_client_txn_idtext
transfer_server_txn_idtext
transfer_registration_expiration_timetimestamptz
transfer_gaining_registrar_idtext
transfer_losing_registrar_idtext
transfer_pending_expiration_timetimestamptz
transfer_request_timetimestamptz
transfer_statustext
update_timestamptimestamptz
billing_recurrence_idint8
autorenew_poll_message_idint8
deletion_poll_message_idint8
autorenew_end_timetimestamptz
billing_recurrence_history_idint8
autorenew_poll_message_history_idint8
deletion_poll_message_history_idint8
transfer_billing_recurrence_history_idint8
transfer_autorenew_poll_message_history_idint8
transfer_billing_event_history_idint8
transfer_history_entry_idint8
transfer_repo_idtext
transfer_poll_message_id_3int8
transfer_billing_cancellation_history_idint8
dns_refresh_request_timetimestamptz
Primary Key
Domain_pkey[primary key]
repo_id
Foreign Keys
fk_domain_transfer_billing_cancellation_id[foreign key, with no action]
transfer_billing_cancellation_id (0..many)→ public.BillingCancellation.billing_cancellation_id
fk_domain_transfer_billing_event_id[foreign key, with no action]
transfer_billing_event_id (0..many)→ public.BillingEvent.billing_event_id
fk_domain_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_domain_transfer_billing_recurrence_id[foreign key, with no action]
transfer_billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_domain_admin_contact[foreign key, with no action]
admin_contact (0..many)→ public.Contact.repo_id
fk_domain_billing_contact[foreign key, with no action]
billing_contact (0..many)→ public.Contact.repo_id
fk_domain_registrant_contact[foreign key, with no action]
registrant_contact (0..many)→ public.Contact.repo_id
fk_domain_tech_contact[foreign key, with no action]
tech_contact (0..many)→ public.Contact.repo_id
fktr24j9v14ph2mfuw2gsmt12kq[foreign key, with no action]
repo_id ←(0..many) public.DelegationSignerData.domain_repo_id
fk_domain_history_domain_repo_id[foreign key, with no action]
repo_id ←(0..many) public.DomainHistory.domain_repo_id
fkfmi7bdink53swivs390m2btxg[foreign key, with no action]
repo_id ←(0..many) public.DomainHost.domain_repo_id
fk_grace_period_domain_repo_id[foreign key, with no action]
repo_id ←(0..many) public.GracePeriod.domain_repo_id
fk_host_superordinate_domain[foreign key, with no action]
repo_id ←(0..many) public.Host.superordinate_domain
fk_poll_message_domain_repo_id[foreign key, with no action]
repo_id ←(0..many) public.PollMessage.domain_repo_id
fk2jc69qyg2tv9hhnmif6oa1cx1[foreign key, with no action]
creation_registrar_id (0..many)→ public.Registrar.registrar_id
fk2u3srsfbei272093m3b3xwj23[foreign key, with no action]
current_sponsor_registrar_id (0..many)→ public.Registrar.registrar_id
fkjc0r9r5y1lfbt4gpbqw4wsuvq[foreign key, with no action]
last_epp_update_registrar_id (0..many)→ public.Registrar.registrar_id
fk_domain_transfer_gaining_registrar_id[foreign key, with no action]
transfer_gaining_registrar_id (0..many)→ public.Registrar.registrar_id
fk_domain_transfer_losing_registrar_id[foreign key, with no action]
transfer_losing_registrar_id (0..many)→ public.Registrar.registrar_id
fk_domain_tld[foreign key, with no action]
tld (0..many)→ public.Tld.tld_name
Indexes
idxsfci08jgsymxy6ovh4k7r358c[non-unique index]
billing_recurrence_idascending
idx3y3k7m2bkgahm9sixiohgyrga[non-unique index]
transfer_billing_event_idascending
idxcju58vqascbpve1t7fem53ctl[non-unique index]
transfer_billing_recurrence_idascending
idxnb02m43jcx24r64n8rbg22u4q[non-unique index]
admin_contactascending
idxq9gy8x2xynt9tb16yajn1gcm8[non-unique index]
billing_contactascending
idxkjt9yaq92876dstimd93hwckh[non-unique index]
current_sponsor_registrar_idascending
idx1rcgkdd777bpvj0r94sltwd5y[non-unique index]
domain_nameascending
idxa7fu0bqynfb79rr80528b4jqt[non-unique index]
registrant_contactascending
Domain_pkey[unique index]
repo_idascending
idxr22ciyccwi9rrqmt1ro0s59qf[non-unique index]
tech_contactascending
idxrwl38wwkli1j7gkvtywi9jokq[non-unique index]
tldascending
idxlrq7v63pc21uoh3auq6eybyhl[non-unique index]
autorenew_end_timeascending
idx8nr0ke9mrrx4ewj6pd2ag4rmr[non-unique index]
creation_timeascending
idx5mnf0wn20tno4b9do88j61klr[non-unique index]
deletion_timeascending
domain_dns_refresh_request_time_idx[non-unique index]
dns_refresh_request_timeascending
-

 

- - +
public.DomainHistory[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.DomainDsDataHistory [table] +
history_revision_idint8 not null
history_by_superuserbool not null
history_registrar_idtext
history_modification_timetimestamptz not null
history_reasontext
history_requested_by_registrarbool
history_client_transaction_idtext
history_server_transaction_idtext
history_typetext not null
history_xml_bytesbytea
admin_contacttext
auth_info_repo_idtext
auth_info_valuetext
billing_recurrence_idint8
autorenew_poll_message_idint8
billing_contacttext
deletion_poll_message_idint8
domain_nametext
idn_table_nametext
last_transfer_timetimestamptz
launch_notice_accepted_timetimestamptz
launch_notice_expiration_timetimestamptz
launch_notice_tcn_idtext
launch_notice_validator_idtext
registrant_contacttext
registration_expiration_timetimestamptz
smd_idtext
subordinate_hosts_text
tech_contacttext
tldtext
transfer_billing_cancellation_idint8
transfer_billing_recurrence_idint8
transfer_autorenew_poll_message_idint8
transfer_billing_event_idint8
transfer_renew_period_unittext
transfer_renew_period_valueint4
transfer_registration_expiration_timetimestamptz
transfer_poll_message_id_1int8
transfer_poll_message_id_2int8
transfer_client_txn_idtext
transfer_server_txn_idtext
transfer_gaining_registrar_idtext
transfer_losing_registrar_idtext
transfer_pending_expiration_timetimestamptz
transfer_request_timetimestamptz
transfer_statustext
creation_registrar_idtext
creation_timetimestamptz
current_sponsor_registrar_idtext
deletion_timetimestamptz
last_epp_update_registrar_idtext
last_epp_update_timetimestamptz
statuses_text
update_timestamptimestamptz
domain_repo_idtext not null
autorenew_end_timetimestamptz
history_other_registrar_idtext
history_period_unittext
history_period_valueint4
billing_recurrence_history_idint8
autorenew_poll_message_history_idint8
deletion_poll_message_history_idint8
transfer_billing_recurrence_history_idint8
transfer_autorenew_poll_message_history_idint8
transfer_billing_event_history_idint8
transfer_history_entry_idint8
transfer_repo_idtext
transfer_poll_message_id_3int8
transfer_billing_cancellation_history_idint8
dns_refresh_request_timetimestamptz
Primary Key
DomainHistory_pkey[primary key]
domain_repo_id
history_revision_id
Foreign Keys
fk_domain_history_domain_repo_id[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_domain_history_registrar_id[foreign key, with no action]
history_registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_cancellation_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingCancellation.domain_repo_id
history_revision_id ←(0..many) public.BillingCancellation.domain_history_revision_id
fk_billing_event_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingEvent.domain_repo_id
history_revision_id ←(0..many) public.BillingEvent.domain_history_revision_id
fk_billing_event_recurrence_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingEvent.domain_repo_id
history_revision_id ←(0..many) public.BillingEvent.recurrence_history_revision_id
fk_billing_recurrence_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingRecurrence.domain_repo_id
history_revision_id ←(0..many) public.BillingRecurrence.domain_history_revision_id
fko4ilgyyfnvppbpuivus565i0j[foreign key, with no action]
domain_repo_id ←(0..many) public.DomainDsDataHistory.domain_repo_id
history_revision_id ←(0..many) public.DomainDsDataHistory.domain_history_revision_id
fka9woh3hu8gx5x0vly6bai327n[foreign key, with no action]
domain_repo_id ←(0..many) public.DomainHistoryHost.domain_history_domain_repo_id
history_revision_id ←(0..many) public.DomainHistoryHost.domain_history_history_revision_id
fkcjqe54u72kha71vkibvxhjye7[foreign key, with no action]
domain_repo_id ←(0..many) public.DomainTransactionRecord.domain_repo_id
history_revision_id ←(0..many) public.DomainTransactionRecord.history_revision_id
fk7w3cx8d55q8bln80e716tr7b8[foreign key, with no action]
domain_repo_id ←(0..many) public.GracePeriodHistory.domain_repo_id
history_revision_id ←(0..many) public.GracePeriodHistory.domain_history_revision_id
fk_poll_message_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.PollMessage.domain_repo_id
history_revision_id ←(0..many) public.PollMessage.domain_history_revision_id
Indexes
idxaro1omfuaxjwmotk3vo00trwm[non-unique index]
history_registrar_idascending
idxsu1nam10cjes9keobapn5jvxj[non-unique index]
history_typeascending
idxrh4xmrot9bd63o382ow9ltfig[non-unique index]
creation_timeascending
idx6w3qbtgce93cal2orjg1tw7b7[non-unique index]
history_modification_timeascending
DomainHistory_pkey[unique index]
domain_repo_idascending
history_revision_idascending
ds_data_history_revision_idint8 not null
algorithmint4 not null
digestbytea not null
digest_typeint4 not null
domain_history_revision_idint8 not null
key_tagint4 not null
domain_repo_idtext
Primary Key
DomainDsDataHistory_pkey[primary key]
ds_data_history_revision_id
Foreign Keys
fko4ilgyyfnvppbpuivus565i0j[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
Indexes
DomainDsDataHistory_pkey[unique index]
ds_data_history_revision_idascending
domain_history_to_ds_data_history_idx[non-unique index]
domain_repo_idascending
domain_history_revision_idascending
-

 

- - +
public.DomainHistoryHost[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.DomainHistory [table] +
domain_history_history_revision_idint8 not null
host_repo_idtext
domain_history_domain_repo_idtext not null
Foreign Keys
fka9woh3hu8gx5x0vly6bai327n[foreign key, with no action]
domain_history_domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
Indexes
ukt2e7ae3t8gcsxd13wjx2ka7ij[unique index]
domain_history_history_revision_idascending
domain_history_domain_repo_idascending
host_repo_idascending
history_revision_idint8 not null
history_by_superuserbool not null
history_registrar_idtext
history_modification_timetimestamptz not null
history_reasontext
history_requested_by_registrarbool
history_client_transaction_idtext
history_server_transaction_idtext
history_typetext not null
history_xml_bytesbytea
admin_contacttext
auth_info_repo_idtext
auth_info_valuetext
billing_recurrence_idint8
autorenew_poll_message_idint8
billing_contacttext
deletion_poll_message_idint8
domain_nametext
idn_table_nametext
last_transfer_timetimestamptz
launch_notice_accepted_timetimestamptz
launch_notice_expiration_timetimestamptz
launch_notice_tcn_idtext
launch_notice_validator_idtext
registrant_contacttext
registration_expiration_timetimestamptz
smd_idtext
subordinate_hosts_text
tech_contacttext
tldtext
transfer_billing_cancellation_idint8
transfer_billing_recurrence_idint8
transfer_autorenew_poll_message_idint8
transfer_billing_event_idint8
transfer_renew_period_unittext
transfer_renew_period_valueint4
transfer_registration_expiration_timetimestamptz
transfer_poll_message_id_1int8
transfer_poll_message_id_2int8
transfer_client_txn_idtext
transfer_server_txn_idtext
transfer_gaining_registrar_idtext
transfer_losing_registrar_idtext
transfer_pending_expiration_timetimestamptz
transfer_request_timetimestamptz
transfer_statustext
creation_registrar_idtext
creation_timetimestamptz
current_sponsor_registrar_idtext
deletion_timetimestamptz
last_epp_update_registrar_idtext
last_epp_update_timetimestamptz
statuses_text
update_timestamptimestamptz
domain_repo_idtext not null
autorenew_end_timetimestamptz
history_other_registrar_idtext
history_period_unittext
history_period_valueint4
billing_recurrence_history_idint8
autorenew_poll_message_history_idint8
deletion_poll_message_history_idint8
transfer_billing_recurrence_history_idint8
transfer_autorenew_poll_message_history_idint8
transfer_billing_event_history_idint8
transfer_history_entry_idint8
transfer_repo_idtext
transfer_poll_message_id_3int8
transfer_billing_cancellation_history_idint8
dns_refresh_request_timetimestamptz
Primary Key
DomainHistory_pkey[primary key]
domain_repo_id
history_revision_id
Foreign Keys
fk_domain_history_domain_repo_id[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_domain_history_registrar_id[foreign key, with no action]
history_registrar_id (0..many)→ public.Registrar.registrar_id
fk_billing_cancellation_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingCancellation.domain_repo_id
history_revision_id ←(0..many) public.BillingCancellation.domain_history_revision_id
fk_billing_event_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingEvent.domain_repo_id
history_revision_id ←(0..many) public.BillingEvent.domain_history_revision_id
fk_billing_event_recurrence_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingEvent.domain_repo_id
history_revision_id ←(0..many) public.BillingEvent.recurrence_history_revision_id
fk_billing_recurrence_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.BillingRecurrence.domain_repo_id
history_revision_id ←(0..many) public.BillingRecurrence.domain_history_revision_id
fko4ilgyyfnvppbpuivus565i0j[foreign key, with no action]
domain_repo_id ←(0..many) public.DomainDsDataHistory.domain_repo_id
history_revision_id ←(0..many) public.DomainDsDataHistory.domain_history_revision_id
fka9woh3hu8gx5x0vly6bai327n[foreign key, with no action]
domain_repo_id ←(0..many) public.DomainHistoryHost.domain_history_domain_repo_id
history_revision_id ←(0..many) public.DomainHistoryHost.domain_history_history_revision_id
fkcjqe54u72kha71vkibvxhjye7[foreign key, with no action]
domain_repo_id ←(0..many) public.DomainTransactionRecord.domain_repo_id
history_revision_id ←(0..many) public.DomainTransactionRecord.history_revision_id
fk7w3cx8d55q8bln80e716tr7b8[foreign key, with no action]
domain_repo_id ←(0..many) public.GracePeriodHistory.domain_repo_id
history_revision_id ←(0..many) public.GracePeriodHistory.domain_history_revision_id
fk_poll_message_domain_history[foreign key, with no action]
domain_repo_id ←(0..many) public.PollMessage.domain_repo_id
history_revision_id ←(0..many) public.PollMessage.domain_history_revision_id
Indexes
idxaro1omfuaxjwmotk3vo00trwm[non-unique index]
history_registrar_idascending
idxsu1nam10cjes9keobapn5jvxj[non-unique index]
history_typeascending
idxrh4xmrot9bd63o382ow9ltfig[non-unique index]
creation_timeascending
idx6w3qbtgce93cal2orjg1tw7b7[non-unique index]
history_modification_timeascending
DomainHistory_pkey[unique index]
domain_repo_idascending
history_revision_idascending
-

 

- - +
public.DomainHost[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.DomainHistoryHost [table] +
domain_repo_idtext not null
host_repo_idtext
Foreign Keys
fkfmi7bdink53swivs390m2btxg[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_domainhost_host_valid[foreign key, with no action]
host_repo_id (0..many)→ public.Host.repo_id
Indexes
idxjw3rwtfrexyq53x9vu7qghrdt[non-unique index]
host_repo_idascending
ukat9erbh52e4lg3jw6ai9wkjj9[unique index]
domain_repo_idascending
host_repo_idascending
domain_history_history_revision_idint8 not null
host_repo_idtext
domain_history_domain_repo_idtext not null
Foreign Keys
fka9woh3hu8gx5x0vly6bai327n[foreign key, with no action]
domain_history_domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
Indexes
ukt2e7ae3t8gcsxd13wjx2ka7ij[unique index]
domain_history_history_revision_idascending
domain_history_domain_repo_idascending
host_repo_idascending
-

 

- - +
public.DomainTransactionRecord[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.DomainHost [table] +
idbigserial not null
auto-incremented
report_amountint4 not null
report_fieldtext not null
reporting_timetimestamptz not null
tldtext not null
domain_repo_idtext
history_revision_idint8
Primary Key
DomainTransactionRecord_pkey[primary key]
id
Foreign Keys
fk_domain_transaction_record_tld[foreign key, with no action]
tld (0..many)→ public.Tld.tld_name
fkcjqe54u72kha71vkibvxhjye7[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
history_revision_id (0..many)→ public.DomainHistory.history_revision_id
Indexes
DomainTransactionRecord_pkey[unique index]
idascending
domain_history_to_transaction_record_idx[non-unique index]
domain_repo_idascending
history_revision_idascending
domain_repo_idtext not null
host_repo_idtext
Foreign Keys
fkfmi7bdink53swivs390m2btxg[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_domainhost_host_valid[foreign key, with no action]
host_repo_id (0..many)→ public.Host.repo_id
Indexes
idxjw3rwtfrexyq53x9vu7qghrdt[non-unique index]
host_repo_idascending
ukat9erbh52e4lg3jw6ai9wkjj9[unique index]
domain_repo_idascending
host_repo_idascending
-

 

- - +
public.GracePeriod[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.DomainTransactionRecord [table] +
grace_period_idint8 not null
billing_event_idint8
billing_recurrence_idint8
registrar_idtext not null
domain_repo_idtext not null
expiration_timetimestamptz not null
typetext not null
billing_event_history_idint8
billing_recurrence_history_idint8
billing_event_domain_repo_idtext
billing_recurrence_domain_repo_idtext
Primary Key
GracePeriod_pkey[primary key]
grace_period_id
Foreign Keys
fk_grace_period_billing_event_id[foreign key, with no action]
billing_event_id (0..many)→ public.BillingEvent.billing_event_id
fk_grace_period_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_grace_period_domain_repo_id[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_grace_period_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
Indexes
idxbgssjudpm428mrv0xfpvgifps[non-unique index]
billing_event_idascending
idx5u5m6clpk3nktrvtyy5umacb6[non-unique index]
billing_recurrence_idascending
GracePeriod_pkey[unique index]
grace_period_idascending
idxj1mtx98ndgbtb1bkekahms18w[non-unique index]
domain_repo_idascending
idbigserial not null
auto-incremented
report_amountint4 not null
report_fieldtext not null
reporting_timetimestamptz not null
tldtext not null
domain_repo_idtext
history_revision_idint8
Primary Key
DomainTransactionRecord_pkey[primary key]
id
Foreign Keys
fk_domain_transaction_record_tld[foreign key, with no action]
tld (0..many)→ public.Tld.tld_name
fkcjqe54u72kha71vkibvxhjye7[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
history_revision_id (0..many)→ public.DomainHistory.history_revision_id
Indexes
DomainTransactionRecord_pkey[unique index]
idascending
domain_history_to_transaction_record_idx[non-unique index]
domain_repo_idascending
history_revision_idascending
-

 

- - +
public.GracePeriodHistory[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.GracePeriod [table] +
grace_period_history_revision_idint8 not null
billing_event_idint8
billing_event_history_idint8
billing_recurrence_idint8
billing_recurrence_history_idint8
registrar_idtext not null
domain_repo_idtext not null
expiration_timetimestamptz not null
typetext not null
domain_history_revision_idint8
grace_period_idint8 not null
billing_event_domain_repo_idtext
billing_recurrence_domain_repo_idtext
Primary Key
GracePeriodHistory_pkey[primary key]
grace_period_history_revision_id
Foreign Keys
fk7w3cx8d55q8bln80e716tr7b8[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
Indexes
GracePeriodHistory_pkey[unique index]
grace_period_history_revision_idascending
idxd01j17vrpjxaerxdmn8bwxs7s[non-unique index]
domain_repo_idascending
grace_period_idint8 not null
billing_event_idint8
billing_recurrence_idint8
registrar_idtext not null
domain_repo_idtext not null
expiration_timetimestamptz not null
typetext not null
billing_event_history_idint8
billing_recurrence_history_idint8
billing_event_domain_repo_idtext
billing_recurrence_domain_repo_idtext
Primary Key
GracePeriod_pkey[primary key]
grace_period_id
Foreign Keys
fk_grace_period_billing_event_id[foreign key, with no action]
billing_event_id (0..many)→ public.BillingEvent.billing_event_id
fk_grace_period_billing_recurrence_id[foreign key, with no action]
billing_recurrence_id (0..many)→ public.BillingRecurrence.billing_recurrence_id
fk_grace_period_domain_repo_id[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_grace_period_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
Indexes
idxbgssjudpm428mrv0xfpvgifps[non-unique index]
billing_event_idascending
idx5u5m6clpk3nktrvtyy5umacb6[non-unique index]
billing_recurrence_idascending
GracePeriod_pkey[unique index]
grace_period_idascending
idxj1mtx98ndgbtb1bkekahms18w[non-unique index]
domain_repo_idascending
-

 

- - +
public.Host[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.GracePeriodHistory [table] +
repo_idtext not null
creation_registrar_idtext
creation_timetimestamptz
current_sponsor_registrar_idtext
deletion_timetimestamptz
last_epp_update_registrar_idtext
last_epp_update_timetimestamptz
statuses_text
host_nametext
last_superordinate_changetimestamptz
last_transfer_timetimestamptz
superordinate_domaintext
inet_addresses_text
update_timestamptimestamptz
transfer_poll_message_id_3int8
Primary Key
Host_pkey[primary key]
repo_id
Foreign Keys
fk_host_superordinate_domain[foreign key, with no action]
superordinate_domain (0..many)→ public.Domain.repo_id
fk_domainhost_host_valid[foreign key, with no action]
repo_id ←(0..many) public.DomainHost.host_repo_id
fk_hosthistory_host[foreign key, with no action]
repo_id ←(0..many) public.HostHistory.host_repo_id
fk_poll_message_host_repo_id[foreign key, with no action]
repo_id ←(0..many) public.PollMessage.host_repo_id
fk_host_creation_registrar_id[foreign key, with no action]
creation_registrar_id (0..many)→ public.Registrar.registrar_id
fk_host_current_sponsor_registrar_id[foreign key, with no action]
current_sponsor_registrar_id (0..many)→ public.Registrar.registrar_id
fk_host_last_epp_update_registrar_id[foreign key, with no action]
last_epp_update_registrar_id (0..many)→ public.Registrar.registrar_id
Indexes
idxrc77s1ndiemi2vwwudchye214[non-unique index]
inet_addressesunknown
idxl49vydnq0h5j1piefwjy4i8er[non-unique index]
current_sponsor_registrar_idascending
idxkpkh68n6dy5v51047yr6b0e9l[non-unique index]
host_nameascending
Host_pkey[unique index]
repo_idascending
idxy98mebut8ix1v07fjxxdkqcx[non-unique index]
creation_timeascending
idxovmntef6l45tw2bsfl56tcugx[non-unique index]
deletion_timeascending
grace_period_history_revision_idint8 not null
billing_event_idint8
billing_event_history_idint8
billing_recurrence_idint8
billing_recurrence_history_idint8
registrar_idtext not null
domain_repo_idtext not null
expiration_timetimestamptz not null
typetext not null
domain_history_revision_idint8
grace_period_idint8 not null
billing_event_domain_repo_idtext
billing_recurrence_domain_repo_idtext
Primary Key
GracePeriodHistory_pkey[primary key]
grace_period_history_revision_id
Foreign Keys
fk7w3cx8d55q8bln80e716tr7b8[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
Indexes
GracePeriodHistory_pkey[unique index]
grace_period_history_revision_idascending
idxd01j17vrpjxaerxdmn8bwxs7s[non-unique index]
domain_repo_idascending
-

 

- - +
public.HostHistory[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.Host [table] +
history_revision_idint8 not null
history_by_superuserbool not null
history_registrar_idtext not null
history_modification_timetimestamptz not null
history_reasontext
history_requested_by_registrarbool
history_client_transaction_idtext
history_server_transaction_idtext
history_typetext not null
history_xml_bytesbytea
host_nametext
inet_addresses_text
last_superordinate_changetimestamptz
last_transfer_timetimestamptz
superordinate_domaintext
creation_registrar_idtext
creation_timetimestamptz
current_sponsor_registrar_idtext
deletion_timetimestamptz
last_epp_update_registrar_idtext
last_epp_update_timetimestamptz
statuses_text
host_repo_idtext not null
update_timestamptimestamptz
transfer_poll_message_id_3int8
Primary Key
HostHistory_pkey[primary key]
host_repo_id
history_revision_id
Foreign Keys
fk_hosthistory_host[foreign key, with no action]
host_repo_id (0..many)→ public.Host.repo_id
fk_history_registrar_id[foreign key, with no action]
history_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_host_history[foreign key, with no action]
host_repo_id ←(0..many) public.PollMessage.host_repo_id
history_revision_id ←(0..many) public.PollMessage.host_history_revision_id
Indexes
idx1iy7njgb7wjmj9piml4l2g0qi[non-unique index]
history_registrar_idascending
idxknk8gmj7s47q56cwpa6rmpt5l[non-unique index]
history_typeascending
idxj77pfwhui9f0i7wjq6lmibovj[non-unique index]
host_nameascending
idxfg2nnjlujxo6cb9fha971bq2n[non-unique index]
creation_timeascending
idx67qwkjtlq5q8dv6egtrtnhqi7[non-unique index]
history_modification_timeascending
HostHistory_pkey[unique index]
host_repo_idascending
history_revision_idascending
repo_idtext not null
creation_registrar_idtext
creation_timetimestamptz
current_sponsor_registrar_idtext
deletion_timetimestamptz
last_epp_update_registrar_idtext
last_epp_update_timetimestamptz
statuses_text
host_nametext
last_superordinate_changetimestamptz
last_transfer_timetimestamptz
superordinate_domaintext
inet_addresses_text
update_timestamptimestamptz
transfer_poll_message_id_3int8
Primary Key
Host_pkey[primary key]
repo_id
Foreign Keys
fk_host_superordinate_domain[foreign key, with no action]
superordinate_domain (0..many)→ public.Domain.repo_id
fk_domainhost_host_valid[foreign key, with no action]
repo_id ←(0..many) public.DomainHost.host_repo_id
fk_hosthistory_host[foreign key, with no action]
repo_id ←(0..many) public.HostHistory.host_repo_id
fk_poll_message_host_repo_id[foreign key, with no action]
repo_id ←(0..many) public.PollMessage.host_repo_id
fk_host_creation_registrar_id[foreign key, with no action]
creation_registrar_id (0..many)→ public.Registrar.registrar_id
fk_host_current_sponsor_registrar_id[foreign key, with no action]
current_sponsor_registrar_id (0..many)→ public.Registrar.registrar_id
fk_host_last_epp_update_registrar_id[foreign key, with no action]
last_epp_update_registrar_id (0..many)→ public.Registrar.registrar_id
Indexes
idxrc77s1ndiemi2vwwudchye214[non-unique index]
inet_addressesunknown
idxl49vydnq0h5j1piefwjy4i8er[non-unique index]
current_sponsor_registrar_idascending
idxkpkh68n6dy5v51047yr6b0e9l[non-unique index]
host_nameascending
Host_pkey[unique index]
repo_idascending
idxy98mebut8ix1v07fjxxdkqcx[non-unique index]
creation_timeascending
idxovmntef6l45tw2bsfl56tcugx[non-unique index]
deletion_timeascending
-

 

- - +
public.Lock[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.HostHistory [table] +
resource_nametext not null
"scope"text not null
acquired_timetimestamptz not null
expiration_timetimestamptz not null
request_log_idtext not null
Primary Key
Lock_pkey[primary key]
resource_name
"scope"
Indexes
Lock_pkey[unique index]
resource_nameascending
"scope"ascending
history_revision_idint8 not null
history_by_superuserbool not null
history_registrar_idtext not null
history_modification_timetimestamptz not null
history_reasontext
history_requested_by_registrarbool
history_client_transaction_idtext
history_server_transaction_idtext
history_typetext not null
history_xml_bytesbytea
host_nametext
inet_addresses_text
last_superordinate_changetimestamptz
last_transfer_timetimestamptz
superordinate_domaintext
creation_registrar_idtext
creation_timetimestamptz
current_sponsor_registrar_idtext
deletion_timetimestamptz
last_epp_update_registrar_idtext
last_epp_update_timetimestamptz
statuses_text
host_repo_idtext not null
update_timestamptimestamptz
transfer_poll_message_id_3int8
Primary Key
HostHistory_pkey[primary key]
host_repo_id
history_revision_id
Foreign Keys
fk_hosthistory_host[foreign key, with no action]
host_repo_id (0..many)→ public.Host.repo_id
fk_history_registrar_id[foreign key, with no action]
history_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_host_history[foreign key, with no action]
host_repo_id ←(0..many) public.PollMessage.host_repo_id
history_revision_id ←(0..many) public.PollMessage.host_history_revision_id
Indexes
idx1iy7njgb7wjmj9piml4l2g0qi[non-unique index]
history_registrar_idascending
idxknk8gmj7s47q56cwpa6rmpt5l[non-unique index]
history_typeascending
idxj77pfwhui9f0i7wjq6lmibovj[non-unique index]
host_nameascending
idxfg2nnjlujxo6cb9fha971bq2n[non-unique index]
creation_timeascending
idx67qwkjtlq5q8dv6egtrtnhqi7[non-unique index]
history_modification_timeascending
HostHistory_pkey[unique index]
host_repo_idascending
history_revision_idascending
-

 

- - +
public.PollMessage[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.Lock [table] +
typetext not null
poll_message_idint8 not null
registrar_idtext not null
contact_repo_idtext
contact_history_revision_idint8
domain_repo_idtext
domain_history_revision_idint8
event_timetimestamptz not null
host_repo_idtext
host_history_revision_idint8
messagetext
transfer_response_contact_idtext
transfer_response_domain_expiration_timetimestamptz
transfer_response_domain_nametext
pending_action_response_action_resultbool
pending_action_response_name_or_idtext
pending_action_response_processed_datetimestamptz
pending_action_response_client_txn_idtext
pending_action_response_server_txn_idtext
transfer_response_gaining_registrar_idtext
transfer_response_losing_registrar_idtext
transfer_response_pending_transfer_expiration_timetimestamptz
transfer_response_transfer_request_timetimestamptz
transfer_response_transfer_statustext
autorenew_end_timetimestamptz
autorenew_domain_nametext
transfer_response_host_idtext
Primary Key
PollMessage_pkey[primary key]
poll_message_id
Foreign Keys
fk_poll_message_contact_repo_id[foreign key, with no action]
contact_repo_id (0..many)→ public.Contact.repo_id
fk_poll_message_domain_repo_id[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_poll_message_host_repo_id[foreign key, with no action]
host_repo_id (0..many)→ public.Host.repo_id
fk_poll_message_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_transfer_response_gaining_registrar_id[foreign key, with no action]
transfer_response_gaining_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_transfer_response_losing_registrar_id[foreign key, with no action]
transfer_response_losing_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_contact_history[foreign key, with no action]
contact_repo_id (0..many)→ public.ContactHistory.contact_repo_id
contact_history_revision_id (0..many)→ public.ContactHistory.history_revision_id
fk_poll_message_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
fk_poll_message_host_history[foreign key, with no action]
host_repo_id (0..many)→ public.HostHistory.host_repo_id
host_history_revision_id (0..many)→ public.HostHistory.history_revision_id
Indexes
PollMessage_pkey[unique index]
poll_message_idascending
idxe7wu46c7wpvfmfnj4565abibp[non-unique index]
registrar_idascending
idxaydgox62uno9qx8cjlj5lauye[non-unique index]
event_timeascending
resource_nametext not null
"scope"text not null
acquired_timetimestamptz not null
expiration_timetimestamptz not null
request_log_idtext not null
Primary Key
Lock_pkey[primary key]
resource_name
"scope"
Indexes
Lock_pkey[unique index]
resource_nameascending
"scope"ascending
-

 

- - +
public.PremiumEntry[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.PollMessage [table] +
revision_idint8 not null
pricenumeric(19, 2) not null
domain_labeltext not null
Primary Key
PremiumEntry_pkey[primary key]
revision_id
domain_label
Foreign Keys
fko0gw90lpo1tuee56l0nb6y6g5[foreign key, with no action]
revision_id (0..many)→ public.PremiumList.revision_id
Indexes
PremiumEntry_pkey[unique index]
revision_idascending
domain_labelascending
typetext not null
poll_message_idint8 not null
registrar_idtext not null
contact_repo_idtext
contact_history_revision_idint8
domain_repo_idtext
domain_history_revision_idint8
event_timetimestamptz not null
host_repo_idtext
host_history_revision_idint8
messagetext
transfer_response_contact_idtext
transfer_response_domain_expiration_timetimestamptz
transfer_response_domain_nametext
pending_action_response_action_resultbool
pending_action_response_name_or_idtext
pending_action_response_processed_datetimestamptz
pending_action_response_client_txn_idtext
pending_action_response_server_txn_idtext
transfer_response_gaining_registrar_idtext
transfer_response_losing_registrar_idtext
transfer_response_pending_transfer_expiration_timetimestamptz
transfer_response_transfer_request_timetimestamptz
transfer_response_transfer_statustext
autorenew_end_timetimestamptz
autorenew_domain_nametext
transfer_response_host_idtext
Primary Key
PollMessage_pkey[primary key]
poll_message_id
Foreign Keys
fk_poll_message_contact_repo_id[foreign key, with no action]
contact_repo_id (0..many)→ public.Contact.repo_id
fk_poll_message_domain_repo_id[foreign key, with no action]
domain_repo_id (0..many)→ public.Domain.repo_id
fk_poll_message_host_repo_id[foreign key, with no action]
host_repo_id (0..many)→ public.Host.repo_id
fk_poll_message_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_transfer_response_gaining_registrar_id[foreign key, with no action]
transfer_response_gaining_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_transfer_response_losing_registrar_id[foreign key, with no action]
transfer_response_losing_registrar_id (0..many)→ public.Registrar.registrar_id
fk_poll_message_contact_history[foreign key, with no action]
contact_repo_id (0..many)→ public.ContactHistory.contact_repo_id
contact_history_revision_id (0..many)→ public.ContactHistory.history_revision_id
fk_poll_message_domain_history[foreign key, with no action]
domain_repo_id (0..many)→ public.DomainHistory.domain_repo_id
domain_history_revision_id (0..many)→ public.DomainHistory.history_revision_id
fk_poll_message_host_history[foreign key, with no action]
host_repo_id (0..many)→ public.HostHistory.host_repo_id
host_history_revision_id (0..many)→ public.HostHistory.history_revision_id
Indexes
PollMessage_pkey[unique index]
poll_message_idascending
idxe7wu46c7wpvfmfnj4565abibp[non-unique index]
registrar_idascending
idxaydgox62uno9qx8cjlj5lauye[non-unique index]
event_timeascending
-

 

- - +
public.PremiumList[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.PremiumEntry [table] +
revision_idbigserial not null
auto-incremented
creation_timestamptimestamptz
nametext not null
bloom_filterbytea not null
currencytext not null
Primary Key
PremiumList_pkey[primary key]
revision_id
Foreign Keys
fko0gw90lpo1tuee56l0nb6y6g5[foreign key, with no action]
revision_id ←(0..many) public.PremiumEntry.revision_id
Indexes
PremiumList_pkey[unique index]
revision_idascending
premiumlist_name_idx[non-unique index]
nameascending
revision_idint8 not null
pricenumeric(19, 2) not null
domain_labeltext not null
Primary Key
PremiumEntry_pkey[primary key]
revision_id
domain_label
Foreign Keys
fko0gw90lpo1tuee56l0nb6y6g5[foreign key, with no action]
revision_id (0..many)→ public.PremiumList.revision_id
Indexes
PremiumEntry_pkey[unique index]
revision_idascending
domain_labelascending
-

 

- - +
public.RdeRevision[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.PremiumList [table] +
tldtext not null
modetext not null
"date"date not null
update_timestamptimestamptz
revisionint4 not null
Primary Key
RdeRevision_pkey[primary key]
tld
mode
"date"
Indexes
RdeRevision_pkey[unique index]
tldascending
modeascending
"date"ascending
revision_idbigserial not null
auto-incremented
creation_timestamptimestamptz
nametext not null
bloom_filterbytea not null
currencytext not null
Primary Key
PremiumList_pkey[primary key]
revision_id
Foreign Keys
fko0gw90lpo1tuee56l0nb6y6g5[foreign key, with no action]
revision_id ←(0..many) public.PremiumEntry.revision_id
Indexes
PremiumList_pkey[unique index]
revision_idascending
premiumlist_name_idx[non-unique index]
nameascending
-

 

- - +
public.Registrar[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.RdeRevision [table] +
registrar_idtext not null
allowed_tlds_text
billing_account_map"hstore"
block_premium_namesbool not null
client_certificatetext
client_certificate_hashtext
contacts_require_syncingbool not null
creation_timetimestamptz not null
drive_folder_idtext
email_addresstext
failover_client_certificatetext
failover_client_certificate_hashtext
fax_numbertext
iana_identifierint8
icann_referral_emailtext
i18n_address_citytext
i18n_address_country_codetext
i18n_address_statetext
i18n_address_street_line1text
i18n_address_street_line2text
i18n_address_street_line3text
i18n_address_ziptext
ip_address_allow_list_text
last_certificate_update_timetimestamptz
last_update_timetimestamptz not null
localized_address_citytext
localized_address_country_codetext
localized_address_statetext
localized_address_street_line1text
localized_address_street_line2text
localized_address_street_line3text
localized_address_ziptext
password_hashtext
phone_numbertext
phone_passcodetext
po_numbertext
rdap_base_urls_text
registrar_nametext not null
registry_lock_allowedbool not null
password_salttext
statetext
typetext not null
urltext
whois_servertext
last_expiring_cert_notification_sent_datetimestamptz
last_expiring_failover_cert_notification_sent_datetimestamptz
Primary Key
Registrar_pkey[primary key]
registrar_id
Foreign Keys
fk_billing_cancellation_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.BillingCancellation.registrar_id
fk_billing_event_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.BillingEvent.registrar_id
fk_billing_recurrence_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.BillingRecurrence.registrar_id
fk1sfyj7o7954prbn1exk7lpnoe[foreign key, with no action]
registrar_id ←(0..many) public.Contact.creation_registrar_id
fk93c185fx7chn68uv7nl6uv2s0[foreign key, with no action]
registrar_id ←(0..many) public.Contact.current_sponsor_registrar_id
fkmb7tdiv85863134w1wogtxrb2[foreign key, with no action]
registrar_id ←(0..many) public.Contact.last_epp_update_registrar_id
fk_contact_transfer_gaining_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Contact.transfer_gaining_registrar_id
fk_contact_transfer_losing_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Contact.transfer_losing_registrar_id
fk_contact_history_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.ContactHistory.history_registrar_id
fk2jc69qyg2tv9hhnmif6oa1cx1[foreign key, with no action]
registrar_id ←(0..many) public.Domain.creation_registrar_id
fk2u3srsfbei272093m3b3xwj23[foreign key, with no action]
registrar_id ←(0..many) public.Domain.current_sponsor_registrar_id
fkjc0r9r5y1lfbt4gpbqw4wsuvq[foreign key, with no action]
registrar_id ←(0..many) public.Domain.last_epp_update_registrar_id
fk_domain_transfer_gaining_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Domain.transfer_gaining_registrar_id
fk_domain_transfer_losing_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Domain.transfer_losing_registrar_id
fk_domain_history_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.DomainHistory.history_registrar_id
fk_grace_period_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.GracePeriod.registrar_id
fk_host_creation_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Host.creation_registrar_id
fk_host_current_sponsor_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Host.current_sponsor_registrar_id
fk_host_last_epp_update_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Host.last_epp_update_registrar_id
fk_history_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.HostHistory.history_registrar_id
fk_poll_message_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.PollMessage.registrar_id
fk_poll_message_transfer_response_gaining_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.PollMessage.transfer_response_gaining_registrar_id
fk_poll_message_transfer_response_losing_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.PollMessage.transfer_response_losing_registrar_id
fk_registrar_poc_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.RegistrarPoc.registrar_id
Indexes
registrar_iana_identifier_idx[non-unique index]
iana_identifierascending
Registrar_pkey[unique index]
registrar_idascending
registrar_name_idx[non-unique index]
registrar_nameascending
tldtext not null
modetext not null
"date"date not null
update_timestamptimestamptz
revisionint4 not null
Primary Key
RdeRevision_pkey[primary key]
tld
mode
"date"
Indexes
RdeRevision_pkey[unique index]
tldascending
modeascending
"date"ascending
-

 

- - +
public.RegistrarPoc[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.Registrar [table] +
email_addresstext not null
allowed_to_set_registry_lock_passwordbool not null
fax_numbertext
gae_user_idtext
nametext
phone_numbertext
registry_lock_password_hashtext
registry_lock_password_salttext
types_text
visible_in_domain_whois_as_abusebool not null
visible_in_whois_as_adminbool not null
visible_in_whois_as_techbool not null
registry_lock_email_addresstext
registrar_idtext not null
Primary Key
RegistrarPoc_pkey[primary key]
registrar_id
email_address
Foreign Keys
fk_registrar_poc_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
Indexes
registrarpoc_gae_user_id_idx[non-unique index]
gae_user_idascending
RegistrarPoc_pkey[unique index]
registrar_idascending
email_addressascending
registrar_idtext not null
allowed_tlds_text
billing_account_map"hstore"
block_premium_namesbool not null
client_certificatetext
client_certificate_hashtext
contacts_require_syncingbool not null
creation_timetimestamptz not null
drive_folder_idtext
email_addresstext
failover_client_certificatetext
failover_client_certificate_hashtext
fax_numbertext
iana_identifierint8
icann_referral_emailtext
i18n_address_citytext
i18n_address_country_codetext
i18n_address_statetext
i18n_address_street_line1text
i18n_address_street_line2text
i18n_address_street_line3text
i18n_address_ziptext
ip_address_allow_list_text
last_certificate_update_timetimestamptz
last_update_timetimestamptz not null
localized_address_citytext
localized_address_country_codetext
localized_address_statetext
localized_address_street_line1text
localized_address_street_line2text
localized_address_street_line3text
localized_address_ziptext
password_hashtext
phone_numbertext
phone_passcodetext
po_numbertext
rdap_base_urls_text
registrar_nametext not null
registry_lock_allowedbool not null
password_salttext
statetext
typetext not null
urltext
whois_servertext
last_expiring_cert_notification_sent_datetimestamptz
last_expiring_failover_cert_notification_sent_datetimestamptz
Primary Key
Registrar_pkey[primary key]
registrar_id
Foreign Keys
fk_billing_cancellation_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.BillingCancellation.registrar_id
fk_billing_event_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.BillingEvent.registrar_id
fk_billing_recurrence_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.BillingRecurrence.registrar_id
fk1sfyj7o7954prbn1exk7lpnoe[foreign key, with no action]
registrar_id ←(0..many) public.Contact.creation_registrar_id
fk93c185fx7chn68uv7nl6uv2s0[foreign key, with no action]
registrar_id ←(0..many) public.Contact.current_sponsor_registrar_id
fkmb7tdiv85863134w1wogtxrb2[foreign key, with no action]
registrar_id ←(0..many) public.Contact.last_epp_update_registrar_id
fk_contact_transfer_gaining_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Contact.transfer_gaining_registrar_id
fk_contact_transfer_losing_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Contact.transfer_losing_registrar_id
fk_contact_history_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.ContactHistory.history_registrar_id
fk2jc69qyg2tv9hhnmif6oa1cx1[foreign key, with no action]
registrar_id ←(0..many) public.Domain.creation_registrar_id
fk2u3srsfbei272093m3b3xwj23[foreign key, with no action]
registrar_id ←(0..many) public.Domain.current_sponsor_registrar_id
fkjc0r9r5y1lfbt4gpbqw4wsuvq[foreign key, with no action]
registrar_id ←(0..many) public.Domain.last_epp_update_registrar_id
fk_domain_transfer_gaining_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Domain.transfer_gaining_registrar_id
fk_domain_transfer_losing_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Domain.transfer_losing_registrar_id
fk_domain_history_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.DomainHistory.history_registrar_id
fk_grace_period_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.GracePeriod.registrar_id
fk_host_creation_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Host.creation_registrar_id
fk_host_current_sponsor_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Host.current_sponsor_registrar_id
fk_host_last_epp_update_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.Host.last_epp_update_registrar_id
fk_history_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.HostHistory.history_registrar_id
fk_poll_message_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.PollMessage.registrar_id
fk_poll_message_transfer_response_gaining_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.PollMessage.transfer_response_gaining_registrar_id
fk_poll_message_transfer_response_losing_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.PollMessage.transfer_response_losing_registrar_id
fk_registrar_poc_registrar_id[foreign key, with no action]
registrar_id ←(0..many) public.RegistrarPoc.registrar_id
Indexes
registrar_iana_identifier_idx[non-unique index]
iana_identifierascending
Registrar_pkey[unique index]
registrar_idascending
registrar_name_idx[non-unique index]
registrar_nameascending
-

 

- - +
public.RegistryLock[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.RegistrarPoc [table] +
revision_idbigserial not null
auto-incremented
lock_completion_timetimestamptz
lock_request_timetimestamptz not null
domain_nametext not null
is_superuserbool not null
registrar_idtext not null
registrar_poc_idtext
repo_idtext not null
verification_codetext not null
unlock_request_timetimestamptz
unlock_completion_timetimestamptz
last_update_timetimestamptz not null
relock_revision_idint8
relock_durationinterval
Primary Key
RegistryLock_pkey[primary key]
revision_id
Foreign Keys
fk2lhcwpxlnqijr96irylrh1707[foreign key, with no action]
revision_id ←(0..many) relock_revision_id
Indexes
RegistryLock_pkey[unique index]
revision_idascending
idx_registry_lock_registrar_id[non-unique index]
registrar_idascending
idx_registry_lock_verification_code[non-unique index]
verification_codeascending
idx_registry_lock_repo_id_revision_id[unique index]
repo_idascending
revision_idascending
email_addresstext not null
allowed_to_set_registry_lock_passwordbool not null
fax_numbertext
gae_user_idtext
nametext
phone_numbertext
registry_lock_password_hashtext
registry_lock_password_salttext
types_text
visible_in_domain_whois_as_abusebool not null
visible_in_whois_as_adminbool not null
visible_in_whois_as_techbool not null
registry_lock_email_addresstext
registrar_idtext not null
Primary Key
RegistrarPoc_pkey[primary key]
registrar_id
email_address
Foreign Keys
fk_registrar_poc_registrar_id[foreign key, with no action]
registrar_id (0..many)→ public.Registrar.registrar_id
Indexes
registrarpoc_gae_user_id_idx[non-unique index]
gae_user_idascending
RegistrarPoc_pkey[unique index]
registrar_idascending
email_addressascending
-

 

- - +
public.ReservedEntry[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.RegistryLock [table] +
revision_idint8 not null
commenttext
reservation_typeint4 not null
domain_labeltext not null
Primary Key
ReservedEntry_pkey[primary key]
revision_id
domain_label
Foreign Keys
fkgq03rk0bt1hb915dnyvd3vnfc[foreign key, with no action]
revision_id (0..many)→ public.ReservedList.revision_id
Indexes
ReservedEntry_pkey[unique index]
revision_idascending
domain_labelascending
revision_idbigserial not null
auto-incremented
lock_completion_timetimestamptz
lock_request_timetimestamptz not null
domain_nametext not null
is_superuserbool not null
registrar_idtext not null
registrar_poc_idtext
repo_idtext not null
verification_codetext not null
unlock_request_timetimestamptz
unlock_completion_timetimestamptz
last_update_timetimestamptz not null
relock_revision_idint8
relock_durationinterval
Primary Key
RegistryLock_pkey[primary key]
revision_id
Foreign Keys
fk2lhcwpxlnqijr96irylrh1707[foreign key, with no action]
revision_id ←(0..many) relock_revision_id
Indexes
RegistryLock_pkey[unique index]
revision_idascending
idx_registry_lock_registrar_id[non-unique index]
registrar_idascending
idx_registry_lock_verification_code[non-unique index]
verification_codeascending
idx_registry_lock_repo_id_revision_id[unique index]
repo_idascending
revision_idascending
-

 

- - +
public.ReservedList[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.ReservedEntry [table] +
revision_idbigserial not null
auto-incremented
creation_timestamptimestamptz not null
nametext not null
should_publishbool not null
Primary Key
ReservedList_pkey[primary key]
revision_id
Foreign Keys
fkgq03rk0bt1hb915dnyvd3vnfc[foreign key, with no action]
revision_id ←(0..many) public.ReservedEntry.revision_id
Indexes
ReservedList_pkey[unique index]
revision_idascending
reservedlist_name_idx[non-unique index]
nameascending
revision_idint8 not null
commenttext
reservation_typeint4 not null
domain_labeltext not null
Primary Key
ReservedEntry_pkey[primary key]
revision_id
domain_label
Foreign Keys
fkgq03rk0bt1hb915dnyvd3vnfc[foreign key, with no action]
revision_id (0..many)→ public.ReservedList.revision_id
Indexes
ReservedEntry_pkey[unique index]
revision_idascending
domain_labelascending
-

 

- - +
public.ServerSecret[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.ReservedList [table] +
secretuuid not null
idint8 not null
Primary Key
ServerSecret_pkey[primary key]
id
Indexes
ServerSecret_pkey[unique index]
idascending
revision_idbigserial not null
auto-incremented
creation_timestamptimestamptz not null
nametext not null
should_publishbool not null
Primary Key
ReservedList_pkey[primary key]
revision_id
Foreign Keys
fkgq03rk0bt1hb915dnyvd3vnfc[foreign key, with no action]
revision_id ←(0..many) public.ReservedEntry.revision_id
Indexes
ReservedList_pkey[unique index]
revision_idascending
reservedlist_name_idx[non-unique index]
nameascending
-

 

- - +
public.SignedMarkRevocationEntry[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.ServerSecret [table] +
revision_idint8 not null
revocation_timetimestamptz not null
smd_idtext not null
Primary Key
SignedMarkRevocationEntry_pkey[primary key]
revision_id
smd_id
Foreign Keys
fk5ivlhvs3121yx2li5tqh54u4[foreign key, with no action]
revision_id (0..many)→ public.SignedMarkRevocationList.revision_id
Indexes
SignedMarkRevocationEntry_pkey[unique index]
revision_idascending
smd_idascending
secretuuid not null
idint8 not null
Primary Key
ServerSecret_pkey[primary key]
id
Indexes
ServerSecret_pkey[unique index]
idascending
-

 

- - +
public.SignedMarkRevocationList[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.SignedMarkRevocationEntry [table] +
revision_idbigserial not null
auto-incremented
creation_timetimestamptz
Primary Key
SignedMarkRevocationList_pkey[primary key]
revision_id
Foreign Keys
fk5ivlhvs3121yx2li5tqh54u4[foreign key, with no action]
revision_id ←(0..many) public.SignedMarkRevocationEntry.revision_id
Indexes
SignedMarkRevocationList_pkey[unique index]
revision_idascending
revision_idint8 not null
revocation_timetimestamptz not null
smd_idtext not null
Primary Key
SignedMarkRevocationEntry_pkey[primary key]
revision_id
smd_id
Foreign Keys
fk5ivlhvs3121yx2li5tqh54u4[foreign key, with no action]
revision_id (0..many)→ public.SignedMarkRevocationList.revision_id
Indexes
SignedMarkRevocationEntry_pkey[unique index]
revision_idascending
smd_idascending
-

 

- - +
public.Spec11ThreatMatch[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.SignedMarkRevocationList [table] +
idbigserial not null
auto-incremented
check_datedate not null
domain_nametext not null
domain_repo_idtext not null
registrar_idtext not null
threat_types_text not null
tldtext not null
Primary Key
SafeBrowsingThreat_pkey[primary key]
id
Indexes
SafeBrowsingThreat_pkey[unique index]
idascending
spec11threatmatch_check_date_idx[non-unique index]
check_dateascending
spec11threatmatch_registrar_id_idx[non-unique index]
registrar_idascending
spec11threatmatch_tld_idx[non-unique index]
tldascending
revision_idbigserial not null
auto-incremented
creation_timetimestamptz
Primary Key
SignedMarkRevocationList_pkey[primary key]
revision_id
Foreign Keys
fk5ivlhvs3121yx2li5tqh54u4[foreign key, with no action]
revision_id ←(0..many) public.SignedMarkRevocationEntry.revision_id
Indexes
SignedMarkRevocationList_pkey[unique index]
revision_idascending
-

 

- - +
public.SqlReplayCheckpoint[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.Spec11ThreatMatch [table] +
idint8 not null
last_replay_timetimestamptz not null
Primary Key
SqlReplayCheckpoint_pkey[primary key]
id
Indexes
SqlReplayCheckpoint_pkey[unique index]
idascending
idbigserial not null
auto-incremented
check_datedate not null
domain_nametext not null
domain_repo_idtext not null
registrar_idtext not null
threat_types_text not null
tldtext not null
Primary Key
SafeBrowsingThreat_pkey[primary key]
id
Indexes
SafeBrowsingThreat_pkey[unique index]
idascending
spec11threatmatch_check_date_idx[non-unique index]
check_dateascending
spec11threatmatch_registrar_id_idx[non-unique index]
registrar_idascending
spec11threatmatch_tld_idx[non-unique index]
tldascending
-

 

- - +
public.Tld[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.SqlReplayCheckpoint [table] +
tld_nametext not null
add_grace_period_lengthinterval not null
allowed_fully_qualified_host_names_text
allowed_registrant_contact_ids_text
anchor_tenant_add_grace_period_lengthinterval not null
auto_renew_grace_period_lengthinterval not null
automatic_transfer_lengthinterval not null
claims_period_endtimestamptz not null
create_billing_cost_amountnumeric(19, 2)
create_billing_cost_currencytext
creation_timetimestamptz not null
currencytext not null
dns_pausedbool not null
dns_writers_text not null
drive_folder_idtext
eap_fee_schedule"hstore" not null
escrow_enabledbool not null
invoicing_enabledbool not null
lordn_usernametext
num_dns_publish_locksint4 not null
pending_delete_lengthinterval not null
premium_list_nametext
pricing_engine_class_nametext
redemption_grace_period_lengthinterval not null
registry_lock_or_unlock_cost_amountnumeric(19, 2)
registry_lock_or_unlock_cost_currencytext
renew_billing_cost_transitions"hstore" not null
renew_grace_period_lengthinterval not null
reserved_list_names_text
restore_billing_cost_amountnumeric(19, 2)
restore_billing_cost_currencytext
roid_suffixtext
server_status_change_billing_cost_amountnumeric(19, 2)
server_status_change_billing_cost_currencytext
tld_state_transitions"hstore" not null
tld_typetext not null
tld_unicodetext not null
transfer_grace_period_lengthinterval not null
Primary Key
Tld_pkey[primary key]
tld_name
Foreign Keys
fk_domain_tld[foreign key, with no action]
tld_name ←(0..many) public.Domain.tld
fk_domain_transaction_record_tld[foreign key, with no action]
tld_name ←(0..many) public.DomainTransactionRecord.tld
Indexes
Tld_pkey[unique index]
tld_nameascending
idint8 not null
last_replay_timetimestamptz not null
Primary Key
SqlReplayCheckpoint_pkey[primary key]
id
Indexes
SqlReplayCheckpoint_pkey[unique index]
idascending
-

 

- - +
public.TmchCrl[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.Tld [table] +
certificate_revocationstext not null
update_timestamptimestamptz not null
urltext not null
idint8 not null
Primary Key
TmchCrl_pkey[primary key]
id
Indexes
TmchCrl_pkey[unique index]
idascending
tld_nametext not null
add_grace_period_lengthinterval not null
allowed_fully_qualified_host_names_text
allowed_registrant_contact_ids_text
anchor_tenant_add_grace_period_lengthinterval not null
auto_renew_grace_period_lengthinterval not null
automatic_transfer_lengthinterval not null
claims_period_endtimestamptz not null
create_billing_cost_amountnumeric(19, 2)
create_billing_cost_currencytext
creation_timetimestamptz not null
currencytext not null
dns_pausedbool not null
dns_writers_text not null
drive_folder_idtext
eap_fee_schedule"hstore" not null
escrow_enabledbool not null
invoicing_enabledbool not null
lordn_usernametext
num_dns_publish_locksint4 not null
pending_delete_lengthinterval not null
premium_list_nametext
pricing_engine_class_nametext
redemption_grace_period_lengthinterval not null
registry_lock_or_unlock_cost_amountnumeric(19, 2)
registry_lock_or_unlock_cost_currencytext
renew_billing_cost_transitions"hstore" not null
renew_grace_period_lengthinterval not null
reserved_list_names_text
restore_billing_cost_amountnumeric(19, 2)
restore_billing_cost_currencytext
roid_suffixtext
server_status_change_billing_cost_amountnumeric(19, 2)
server_status_change_billing_cost_currencytext
tld_state_transitions"hstore" not null
tld_typetext not null
tld_unicodetext not null
transfer_grace_period_lengthinterval not null
Primary Key
Tld_pkey[primary key]
tld_name
Foreign Keys
fk_domain_tld[foreign key, with no action]
tld_name ←(0..many) public.Domain.tld
fk_domain_transaction_record_tld[foreign key, with no action]
tld_name ←(0..many) public.DomainTransactionRecord.tld
Indexes
Tld_pkey[unique index]
tld_nameascending
-

 

- - +
public.Transaction[table] -
+

 

+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
public.TmchCrl [table] +
idbigserial not null
auto-incremented
contentsbytea
Primary Key
Transaction_pkey[primary key]
id
Indexes
Transaction_pkey[unique index]
idascending
certificate_revocationstext not null
update_timestamptimestamptz not null
urltext not null
idint8 not null
Primary Key
TmchCrl_pkey[primary key]
id
Indexes
TmchCrl_pkey[unique index]
idascending
-

 

+ +

 

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
public.Transaction [table] +
idbigserial not null
auto-incremented
contentsbytea
Primary Key
Transaction_pkey[primary key]
id
Indexes
Transaction_pkey[unique index]
idascending
+

 

\ No newline at end of file diff --git a/db/src/main/resources/sql/flyway.txt b/db/src/main/resources/sql/flyway.txt index bcc2ccb9c..fd8f42c37 100644 --- a/db/src/main/resources/sql/flyway.txt +++ b/db/src/main/resources/sql/flyway.txt @@ -116,4 +116,3 @@ V115__add_renewal_columns_to_billing_recurrence.sql V116__add_renewal_column_to_allocation_token.sql V117__add_billing_recurrence_last_expansion_column.sql V118__drop_billing_identifier_column_from_registrar.sql -V119__drop_database_migration_schedule.sql diff --git a/db/src/main/resources/sql/flyway/V119__drop_database_migration_schedule.sql b/db/src/main/resources/sql/flyway/V119__drop_database_migration_schedule.sql deleted file mode 100644 index 8d1659794..000000000 --- a/db/src/main/resources/sql/flyway/V119__drop_database_migration_schedule.sql +++ /dev/null @@ -1,15 +0,0 @@ --- Copyright 2021 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 IF EXISTS "DatabaseMigrationStateSchedule" CASCADE; diff --git a/db/src/main/resources/sql/schema/db-schema.sql.generated b/db/src/main/resources/sql/schema/db-schema.sql.generated index b4b5fbb8e..27739c968 100644 --- a/db/src/main/resources/sql/schema/db-schema.sql.generated +++ b/db/src/main/resources/sql/schema/db-schema.sql.generated @@ -242,6 +242,12 @@ primary key (scope, type) ); + create table "DatabaseMigrationStateSchedule" ( + id int8 not null, + migration_transitions hstore, + primary key (id) + ); + create table "DelegationSignerData" ( algorithm int4 not null, digest bytea not null, diff --git a/db/src/main/resources/sql/schema/nomulus.golden.sql b/db/src/main/resources/sql/schema/nomulus.golden.sql index 0ed0693f2..944f1b645 100644 --- a/db/src/main/resources/sql/schema/nomulus.golden.sql +++ b/db/src/main/resources/sql/schema/nomulus.golden.sql @@ -320,6 +320,16 @@ 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: - -- @@ -1215,6 +1225,14 @@ 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: - -- @@ -1462,6 +1480,13 @@ ALTER TABLE ONLY public."DomainHistoryHost" 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_dns_refresh_request_time_idx; Type: INDEX; Schema: public; Owner: - --