mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
Merge pull request '易修声明功能' (#284) from starlee/forgeplus:lzx-claim-2.0 into standalone_develop
This commit is contained in:
11
db/migrate/20211115014133_create_claims.rb
Normal file
11
db/migrate/20211115014133_create_claims.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
ails db:migrateclass CreateClaims < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :claims do |t|
|
||||
t.integer :issue_id
|
||||
t.integer :user_id
|
||||
t.timestamps
|
||||
t.index :issue_id
|
||||
t.index :user_id
|
||||
end
|
||||
end
|
||||
end
|
||||
5
db/migrate/20211119135526_add_note_to_claim.rb
Normal file
5
db/migrate/20211119135526_add_note_to_claim.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddNoteToClaim < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :claims, :note, :text
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user