mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-16 17:55:56 +08:00
修改sync_version_issues并添加verison.id_index
This commit is contained in:
5
db/migrate/20200422083202_add_version_id_index.rb
Normal file
5
db/migrate/20200422083202_add_version_id_index.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddVersionIdIndex < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
execute "ALTER TABLE versions ADD PRIMARY KEY (id);"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user