We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eeb389 commit a8cbad1Copy full SHA for a8cbad1
db/migrate/20250701160618_add_missing_indexes.rb
@@ -0,0 +1,5 @@
1
+class AddMissingIndexes < ActiveRecord::Migration[7.2]
2
+ def change
3
+ add_index :drafts, [:element_id, :element_type], if_not_exists: true
4
+ end
5
+end
0 commit comments