Skip to content

Commit c798e26

Browse files
committed
removing index per PR feedback
1 parent 4581cdd commit c798e26

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

db/migrate/20251028201000_create_team.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ def up
66
t.string :name
77
end
88

9-
add_index :teams, [:name, :workspace_id], unique: true
10-
add_index :teams, :workspace_id
9+
add_index :teams, [:workspace_id, :name], unique: true
1110

1211
create_table :team_user do |t|
1312
t.integer :team_id, null: false

0 commit comments

Comments
 (0)