Skip to content

Commit

Permalink
add index to status names
Browse files Browse the repository at this point in the history
  • Loading branch information
one-m1nd committed Mar 4, 2024
1 parent ec3ba86 commit f289a6d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions db/migrate/20240304165600_add_index_to_status_names.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddIndexToStatusNames < ActiveRecord::Migration[7.0]
def change
add_index :statuses, :name
end
end
3 changes: 2 additions & 1 deletion db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f289a6d

Please sign in to comment.