diff --git a/core/src/main/java/google/registry/model/host/HostResource.java b/core/src/main/java/google/registry/model/host/HostResource.java
index 05a99e30d..27cc43e6f 100644
--- a/core/src/main/java/google/registry/model/host/HostResource.java
+++ b/core/src/main/java/google/registry/model/host/HostResource.java
@@ -34,6 +34,9 @@ import javax.persistence.AccessType;
@ReportedOn
@Entity
@javax.persistence.Entity(name = "Host")
+@javax.persistence.Table(
+ name = "Host",
+ indexes = {@javax.persistence.Index(columnList = "hostName")})
@ExternalMessagingName("host")
@WithStringVKey
@Access(AccessType.FIELD) // otherwise it'll use the default if the repoId (property)
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 a6eeff2f0..edbaa2b1a 100644
--- a/db/src/main/resources/sql/er_diagram/brief_er_diagram.html
+++ b/db/src/main/resources/sql/er_diagram/brief_er_diagram.html
@@ -261,19 +261,11 @@ td.section {
generated on |
-<<<<<<< HEAD
- 2021-11-23 20:43:41.968049 |
+ 2022-02-03 18:23:57.232542 |
last flyway file |
- V104__add_transfer_response_host_id_to_poll_message.sql |
-=======
- 2021-11-17 21:23:12.62481 |
-
-
- last flyway file |
- V103__add_transfer_response_host_id_to_poll_message.sql |
->>>>>>> 19aa29939 (Fix missing hostPendingActionNotificationResponses in PollMessage.OneTime)
+ V105__add_index_on_host_name_in_host_table.sql |
@@ -282,24 +274,19 @@ td.section {