1
0
mirror of https://github.com/google/nomulus synced 2026-01-04 20:24:22 +00:00
Files
nomulus/db/src/main/resources/sql/flyway.txt
Ben McIlwain c33f0dc07f Remove all foreign key constraints pointing to contact tables (#2857)
This affects FKs pointing to both Contact and ContactHistory. This is in
preparation to us deleting all rows in those two tables, and then subsequently
removing all application logic having to do with contacts entirely.
2025-10-27 20:34:50 +00:00

218 lines
8.3 KiB
Plaintext

V1__create_claims_list_and_entry.sql
V2__create_premium_list_and_entry.sql
V3__create_registry_lock.sql
V4__registry_lock_add_index_on_verification_code.sql
V5__update_premium_list.sql
V6__premium_list_bloom_filter.sql
V7__update_claims_list.sql
V8__registry_lock_registrar_index.sql
V9__premium_list_currency_type.sql
V10__create_reserved_list_and_entry.sql
V11__premium_entry_reorder_column.sql
V12__create_cursor.sql
V13__refactor_registry_lock.sql
V14__load_extension_for_hstore.sql
V15__add_epp_resources.sql
V16__create_registrar.sql
V17__create_registrar_poc.sql
V18__create_lock.sql
V19__add_registry_relock_reference.sql
V20__add_relock_duration.sql
V21__add_registry_lock_email_to_poc.sql
V22__update_ns_hosts.sql
V23__create_contact.sql
V24__domain_base_contacts.sql
V25__rename_vkey_fields.sql
V26__create_billing_event.sql
V27__create_pollmessage.sql
V28__superordinate_domain_vkey.sql
V29__add_columns_for_transfer_data.sql
V30__inet_address_converter.sql
V31__client_id_to_registrar_id.sql
V32__drop_unused_transafer_data_columns_in_contact.sql
V33__create_host_history.sql
V34__rename_fully_qualified_names.sql
V35__rename_allow_list.sql
V36__create_safebrowsing_threats.sql
V37__update_spec11threatmatch.sql
V38__create_contact_history.sql
V39__add_updatetime_column.sql
V40__spec11threatmatch_remove_registrar_foreign_key.sql
V41__add_columns_to_domain.sql
V42__add_txn_table.sql
V43__update_relock_duration_type.sql
V44__create_domain_history.sql
V45__add_grace_period_table.sql
V46__Contact_contactId_index_to_non_unique.sql
V47__remove_spec11_domain_foreign_key.sql
V48__domain_add_autorenew_end_time_column.sql
V49__create_allocation_token.sql
V50__use_composite_key_for_registrar_poc.sql
V51__use_composite_primary_key_for_domain_history_table.sql
V52__update_billing_constraint.sql
V53__add_temp_history_id_sequence.sql
V54__add_tld_table.sql
V55__domain_history_fields.sql
V56__rename_host_table.sql
V57__history_null_content.sql
V58__drop_default_value_and_sequences_for_billing_event.sql
V59__use_composite_primary_key_for_contact_and_host_history_table.sql
V60__remove_pollmessage_sequence.sql
V61__domain_hist_columns.sql
V62__disable_key_auto_generation_for_history_tables.sql
V63__add_schema_for_ds_data.sql
V64__transfer_history_columns.sql
V65__local_date_date_type.sql
V66__create_rde_revision.sql
V67__grace_period_history_ids.sql
V68__make_reserved_list_nullable_in_registry.sql
V69__change_primary_key_and_add_history_table_for_delegation_signer.sql
V70__signed_mark_revocation_list.sql
V71__create_kms_secret.sql
V72__add_missing_foreign_keys.sql
V73__singleton_entities.sql
V74__sql_replay_checkpoint.sql
V75__add_grace_period_history.sql
V76__change_history_nullability.sql
V77__fixes_for_replay.sql
V78__add_history_id_for_redemption_history_entry.sql
V79__drop_foreign_keys_on_pollmessage.sql
V80__defer_bill_event_key.sql
V81__drop_spec11_fkeys.sql
V82__add_columns_to_restore_symmetric_billing_vkey.sql
V83__add_indexes_on_domainhost.sql
V84__add_vkey_columns_in_billing_cancellation.sql
V85__add_required_columns_in_transfer_data.sql
V86__third_poll_message.sql
V87__fix_super_domain_fk.sql
V88__transfer_billing_cancellation_history_id.sql
V89__host_history_host_deferred.sql
V90__update_timestamp.sql
V91__defer_fkeys.sql
V92__singletons.sql
V93__defer_all_fkeys.sql
V94__rename_lock_scope.sql
V95__add_contacts_indexes_on_domain.sql
V96__rename_sql_checkpoint_fields.sql
V97__add_recurrence_history_id_column_to_onetime.sql
V98__add_last_expiring_cert_notification_sent_date.sql
V99__drop_kms_secret_table.sql
V100__database_migration_schedule.sql
V101__domain_add_dns_refresh_request_time.sql
V102__add_indexes_to_domain_history_sub_tables.sql
V103__creation_time_not_null.sql
V104__add_transfer_response_host_id_to_poll_message.sql
V105__add_index_on_host_name_in_host_table.sql
V106__add_domain_missing_indexes_from_query_analyzer.sql
V107__add_billingevent_missing_indexes.sql
V108__add_host_indexes_for_whois.sql
V109__add_domain_host_missing_indexes_from_query_analyzer.sql
V110__add_graceperiod_missing_indexes_from_query_analyzer.sql
V111__add_billingcancellation_missing_indexes.sql
V112__add_billingrecurrence_missing_indexes.sql
V113__add_host_missing_indexes.sql
V114__add_allocation_token_indexes.sql
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__token_registration_behavior.sql
V120__remove_ofy_key_fields.sql
V121__drop_sql_checkpoint_and_txn.sql
V122__add_current_package_token_to_domain.sql
V123__drop_unused_columns_in_billing_cancellation_table.sql
V124__add_console_user.sql
V125__create_package_promotion.sql
V126__drop_autorenew_poll_message_history_id_column_in_domain_table.sql
V127__fix_user.sql
V128__fix_package_promotion_id.sql
V129__create_allocateId_sequence_alternative.sql
V130__add_login_email_column_to_registrarpoc.sql
V131__add_default_promo_tokens_to_registry.sql
V132__drop_gae_user_id_from_registrar_poc.sql
V133__add_pull_queue_replace_columns.sql
V134__drop_not_null_request_id_lock_table.sql
V135__null_gaia_id_user.sql
V136__add_dns_refresh_request_table.sql
V137__add_process_time_column.sql
V138__drop_dns_refresh_request_time_column.sql
V139__add_allowed_epp_actions_column.sql
V140__rename_process_time_column_in_dns_refresh_request_table.sql
V141__add_ttl_columns_to_tld.sql
V142__drop_request_log_id.sql
V143__idn_per_tld.sql
V144__drop_database_migration_state_schedule_table.sql
V145__add_breakglass_mode_to_tld_table.sql
V146__last_update_time_via_epp.sql
V147__drop_gaia_id_from_user.sql
V148__add_bsa_download_and_label_tables.sql
V149__add_bsa_domain_in_use_table.sql
V150__add_tld_bsa_enroll_date.sql
V151__add_bsa_unblockable_domain_table.sql
V152__add_bsa_domain_refresh_table.sql
V153__drop_bsa_domain_in_use_table.sql
V154__add_create_billing_cost_transitions_to_tld.sql
V155__reserved_list_null_should_publish.sql
V156__console_update_history.sql
V157__console_epp_action_history_indexes.sql
V158__registrar_poc_update_history_indexes.sql
V159__registrar_update_history_indexes.sql
V160__user_update_history_indexes.sql
V161__rename_console_epp_history_time.sql
V162__rename_console_poc_history_time.sql
V163__rename_console_registrar_history_time.sql
V164__rename_console_user_history_time.sql
V165__add_domain_repo_id_indexes_to_more_tables.sql
V166__drop_should_publish_column.sql
V167__creat_billing_cost_transitions_not_null.sql
V168__registry_lock_email.sql
V169__add_more_indexes_needed_for_delete_prober_data.sql
V170__user_update_registry_lock_email.sql
V171__drop_create_billing_cost_columns_from_tld.sql
V172__allocation_token_renewal_price.sql
V173__create_feature_flag_table.sql
V174__user_pkey.sql
V175__user_update_history_id.sql
V176__drop_login_email_address_column_from_registrar_poc.sql
V177__drop_user_id.sql
V178__drop_user_id_history.sql
V179__add_discount_price_allocation_token.sql
V180__remove_fk_graceperiodhistory_domainhistory.sql
V181__remove_fk_billingcancellation_domainhistory.sql
V182__remove_fk_billingevent_domainhistory.sql
V183__remove_fk_billingrecurrence_domainhistory.sql
V184__remove_fk_pollmessage_domainhistory.sql
V185__remove_fk_domaintransactionrecord_domainhistory.sql
V186__remove_fk_domaindsdatahistory_domainhistory.sql
V187__console_update_history.sql
V188__remove_fk_userupdatehistory.sql
V189__remove_fk_consoleeppactionhistory.sql
V190__remove_fk_registrarupdatehistory.sql
V191__remove_fk_registrarpocupdatehistory.sql
V192__add_last_poc_verification_date.sql
V193__password_reset_request.sql
V194__password_reset_request_registrar.sql
V195__registrar_poc_id.sql
V196__tld_expiry_access_period_enabled.sql
V197__poc_rlock_drop_not_null.sql
V198__billing_cancellation_hash.sql
V199__billing_event_hash.sql
V200__billing_recurrence_hash.sql
V201__domain_hash.sql
V202__delegation_signer_data_hash.sql
V203__domain_history_hash.sql
V204__domain_host_hash.sql
V205__domain_transaction_record_hash.sql
V206__grace_period_hash.sql
V207__grace_period_history_hash.sql
V208__host_hash.sql
V209__poll_message_hash.sql
V210__allocationtoken_token_hash.sql
V211__domainhistoryhost_history_revision_id_hash.sql
V212__domaindsdatahistory_history_revision_id_hash.sql
V213__graceperiodhistory_history_revision_id_hash.sql
V214__domain_unique_domain_name_active.sql
V215__drop_contact_fks_contacthistory.sql
V216__drop_contact_fks_domain.sql
V217__drop_contact_fks_pollmessage.sql