-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
32 additions
and
32 deletions.
There are no files selected for viewing
30 changes: 0 additions & 30 deletions
30
src/main/resources/db/migration/v0.38.0.30__agm_agm_association_loads_2.sql
This file was deleted.
Oops, something went wrong.
32 changes: 30 additions & 2 deletions
32
src/main/resources/db/migration/v0.38.0.31__agm_agm_association_loads_2.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,30 @@ | ||
CREATE INDEX agmagmassociation_agmassocobject_in ON public.agmagmassociation USING btree (agmAgmAssociationObject_id); | ||
ALTER TABLE ONLY public.agmagmassociation ADD CONSTRAINT agmagmassociation_agmassociationobject_fk FOREIGN KEY (agmAgmAssociationObject_id) REFERENCES public.affectedgenomicmodel(id); | ||
ALTER TABLE agmagmassociation | ||
add column | ||
agmAgmAssociationObject_id bigint | ||
; | ||
|
||
alter table agmagmassociation | ||
DROP agmassociationobject_id | ||
; | ||
|
||
delete | ||
from bulkscheduledload | ||
where id in (SELECT id | ||
FROM bulkload | ||
WHERE backendbulkloadtype = 'AGM_AGM_ASSOCIATION'); | ||
|
||
delete | ||
from bulkmanualload | ||
where id in (SELECT id | ||
FROM bulkload | ||
WHERE backendbulkloadtype = 'AGM_AGM_ASSOCIATION'); | ||
|
||
delete | ||
from bulkload | ||
WHERE group_id in (select id from bulkloadgroup where name = 'Direct (LinkML) AGM AGM Association Loads'); | ||
|
||
delete | ||
from bulkloadgroup | ||
where name = 'Direct (LinkML) AGM AGM Association Loads'; | ||
|
||
|
2 changes: 2 additions & 0 deletions
2
src/main/resources/db/migration/v0.38.0.32__agm_agm_association_loads_2.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CREATE INDEX agmagmassociation_agmassocobject_in ON public.agmagmassociation USING btree (agmAgmAssociationObject_id); | ||
ALTER TABLE ONLY public.agmagmassociation ADD CONSTRAINT agmagmassociation_agmassociationobject_fk FOREIGN KEY (agmAgmAssociationObject_id) REFERENCES public.affectedgenomicmodel(id); |
File renamed without changes.