Skip to content

Commit

Permalink
Add index for service_plan_id column
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Thun <philipp.thun@sap.com>
  • Loading branch information
johha and philippthun committed Nov 13, 2023
1 parent 9aff322 commit 9d0b8fb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions db/migrations/20231113105256_add_service_plan_id_index.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Sequel.migration do
up do
add_index :service_plan_visibilities, :service_plan_id, name: :spv_service_plan_id_index
end

down do
drop_index :service_plan_visibilities, nil, name: :spv_service_plan_id_index
end
end

0 comments on commit 9d0b8fb

Please sign in to comment.