mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:33:05 +08:00
FIX delet some index with projects table
This commit is contained in:
7
db/migrate/20201023025821_remove_index_from_projects.rb
Normal file
7
db/migrate/20201023025821_remove_index_from_projects.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class RemoveIndexFromProjects < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
remove_index :projects, :project_language_id
|
||||
remove_index :projects, :project_category_id
|
||||
remove_index :projects, :user_id
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user