mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
12 lines
230 B
Ruby
12 lines
230 B
Ruby
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
|