mirror of
https://github.com/google/nomulus.git
synced 2025-08-12 20:49:37 +02:00
Use composite primary key for HostHistory and ContactHistory (#809)
* Use composite primary key for HostHistory and ContactHistory * Update flyway file version * Make getters private * Add javadoc * Rebase on HEAD
This commit is contained in:
parent
a149ee25f7
commit
cc2ea6851c
14 changed files with 248 additions and 89 deletions
|
@ -1084,7 +1084,7 @@ ALTER TABLE ONLY public."ClaimsList"
|
|||
--
|
||||
|
||||
ALTER TABLE ONLY public."ContactHistory"
|
||||
ADD CONSTRAINT "ContactHistory_pkey" PRIMARY KEY (history_revision_id);
|
||||
ADD CONSTRAINT "ContactHistory_pkey" PRIMARY KEY (contact_repo_id, history_revision_id);
|
||||
|
||||
|
||||
--
|
||||
|
@ -1140,7 +1140,7 @@ ALTER TABLE ONLY public."GracePeriod"
|
|||
--
|
||||
|
||||
ALTER TABLE ONLY public."HostHistory"
|
||||
ADD CONSTRAINT "HostHistory_pkey" PRIMARY KEY (history_revision_id);
|
||||
ADD CONSTRAINT "HostHistory_pkey" PRIMARY KEY (host_repo_id, history_revision_id);
|
||||
|
||||
|
||||
--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue