Skip to content

Commit

Permalink
fix(db): remove incorrect deletion of foreign key
Browse files Browse the repository at this point in the history
refs #1677
  • Loading branch information
jo-elimu committed Jul 13, 2024
1 parent fbd28f2 commit aafe7dd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/resources/db/migration/2004007.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ ALTER TABLE `Word_LetterSoundCorrespondence` CHANGE `letterSoundCorrespondences_

# Reset primary key
ALTER TABLE `Word_LetterSoundCorrespondence` DROP PRIMARY KEY, ADD PRIMARY KEY(Word_id, letterSounds_ORDER);

# Delete obsolete foreign key constraint for "letterSoundCorrespondences_id"
ALTER TABLE `Word_LetterSoundCorrespondence` DROP FOREIGN KEY `FKf6r3yfdc6quwa0b13mln5uuc8`;

0 comments on commit aafe7dd

Please sign in to comment.