mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-09 22:39:50 +08:00
ADD index for project_type column in projects table
This commit is contained in:
5
db/migrate/20201020083709_add_index_to_projects.rb
Normal file
5
db/migrate/20201020083709_add_index_to_projects.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddIndexToProjects < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_index :projects, :identifier, name: 'index_projects_on_identifier'
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user