-
Notifications
You must be signed in to change notification settings - Fork 105
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
1 parent
eb443ba
commit 17b6515
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
db/migrate/20230502082427_add_uniq_index_to_career_step_members.rb
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,5 +1,5 @@ | ||
class AddUniqIndexToCareerStepMembers < ActiveRecord::Migration[7.0] | ||
def change | ||
add_index :career_step_members, %i[career_member_id career_step_id], unique: true | ||
add_index :career_step_members, %i[career_member_id career_step_id], unique: true, name: 'index_career_step_members_on_member_id_and_step_id' | ||
end | ||
end |
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