forked from Trustie/forgeplus
新增:声明感知
This commit is contained in:
parent
75e9c47bef
commit
7c5e58cae0
|
|
@ -0,0 +1,11 @@
|
|||
class 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
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
class AddNoteToClaim < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :claims, :note, :text
|
||||
end
|
||||
end
|
||||
Loading…
Reference in New Issue