Skip to content

Commit 2a1e9bf

Browse files
authored
Merge pull request #68 from amatsuda/add_index_again
Add index to messages on message_id_header (take 2)
2 parents 62890a3 + a21ce47 commit 2a1e9bf

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

db/migrate/20251017161507_add_index_messages_message_id_header.rb

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class AddIndexToMessages < ActiveRecord::Migration[8.0]
2+
def change
3+
add_index :messages, :message_id_header
4+
end
5+
end

db/schema.rb

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)