Add the domain DNS refresh request time field to the DB schema (#1280)

* Add the domain DNS refresh request time field to the DB schema

This isn't used yet, but it will eventually be the replacement for the dns-pull
task queue once we get further in the migration.

* Remove index
This commit is contained in:
Ben McIlwain 2021-08-13 15:32:18 -04:00 committed by GitHub
parent 0d43f19e30
commit 6f3d56e8a1
5 changed files with 2653 additions and 2555 deletions

View file

@ -398,7 +398,8 @@ CREATE TABLE public."Domain" (
transfer_history_entry_id bigint,
transfer_repo_id text,
transfer_poll_message_id_3 bigint,
transfer_billing_cancellation_history_id bigint
transfer_billing_cancellation_history_id bigint,
dns_refresh_request_time timestamp with time zone
);
@ -490,7 +491,8 @@ CREATE TABLE public."DomainHistory" (
transfer_history_entry_id bigint,
transfer_repo_id text,
transfer_poll_message_id_3 bigint,
transfer_billing_cancellation_history_id bigint
transfer_billing_cancellation_history_id bigint,
dns_refresh_request_time timestamp with time zone
);
@ -1480,6 +1482,13 @@ CREATE INDEX allocation_token_domain_name_idx ON public."AllocationToken" USING
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: -
--
CREATE INDEX domain_dns_refresh_request_time_idx ON public."Domain" USING btree (dns_refresh_request_time);
--
-- Name: idx1iy7njgb7wjmj9piml4l2g0qi; Type: INDEX; Schema: public; Owner: -
--