You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/db/migrate/20200108025047_create_pull_...

11 lines
282 B

class CreatePullRequestAssigns < ActiveRecord::Migration[5.2]
def change
create_table :pull_request_assigns do |t|
t.integer :user_id
t.integer :pull_request_id
t.timestamps
end
add_index :pull_request_assigns, [:user_id, :pull_request_id]
end
end