mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
Merge branch 'develop' into standalone_develop
This commit is contained in:
10
db/migrate/20230207091507_create_issue_assigners.rb
Normal file
10
db/migrate/20230207091507_create_issue_assigners.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class CreateIssueAssigners < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :issue_assigners do |t|
|
||||
t.references :issue
|
||||
t.references :assigner, references: :user
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
11
db/migrate/20230208023811_create_issue_participants.rb
Normal file
11
db/migrate/20230208023811_create_issue_participants.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class CreateIssueParticipants < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :issue_participants do |t|
|
||||
t.references :issue
|
||||
t.references :participant, references: :user
|
||||
t.integer :participant_type, default: 0
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddSomeColumnsToIssueUpgrade < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :issue_tags, :pull_requests_count, :integer, default: 0
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user