Make stuff sortable
This commit is contained in:
parent
50e853098b
commit
ee5dbcf33e
21 changed files with 161 additions and 28 deletions
7
db/migrate/20241111011637_remove_position_indices.rb
Normal file
7
db/migrate/20241111011637_remove_position_indices.rb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
class RemovePositionIndices < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
remove_index :success_criteria, column: [:element_id, :position]
|
||||
remove_index :elements, column: [:page_id, :position]
|
||||
remove_index :pages, column: [:report_id, :position]
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue