This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fixed 评论回复增加parent_id索引,解决性能问题
pull/342/head
xxq250
2 years ago
parent
5541002dab
commit
33c56e3e79
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
db/migrate/20231115126452_add_journal_parent_id_index.rb
+ 5
- 0
db/migrate/20231115126452_add_journal_parent_id_index.rb
View File
@@ -0,0 +1,5 @@
class AddJournalParentIdIndex < ActiveRecord::Migration[5.2]
def change
add_index :journals, :parent_id
end
end
Write
Preview
Loading…
Cancel
Save