Browse Source

ADD index for project_type column in projects table

tags/v1.0.0
Jasder 5 years ago
parent
commit
ca3b5f4284
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      db/migrate/20201020083709_add_index_to_projects.rb

+ 5
- 0
db/migrate/20201020083709_add_index_to_projects.rb View File

@@ -0,0 +1,5 @@
class AddIndexToProjects < ActiveRecord::Migration[5.2]
def change
add_index :projects, :identifier, name: 'index_projects_on_identifier'
end
end

Loading…
Cancel
Save