summaryrefslogtreecommitdiff
path: root/db/migrate/20190829131130_create_external_pull_requests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190829131130_create_external_pull_requests.rb')
-rw-r--r--db/migrate/20190829131130_create_external_pull_requests.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20190829131130_create_external_pull_requests.rb b/db/migrate/20190829131130_create_external_pull_requests.rb
index 0c3168807ec..817f84017e2 100644
--- a/db/migrate/20190829131130_create_external_pull_requests.rb
+++ b/db/migrate/20190829131130_create_external_pull_requests.rb
@@ -6,6 +6,7 @@ class CreateExternalPullRequests < ActiveRecord::Migration[5.2]
DOWNTIME = false
INDEX = 'index_external_pull_requests_on_project_and_branches'
+ # rubocop:disable Migration/PreventStrings
def change
create_table :external_pull_requests do |t|
t.timestamps_with_timezone null: false
@@ -22,4 +23,5 @@ class CreateExternalPullRequests < ActiveRecord::Migration[5.2]
t.index [:project_id, :source_branch, :target_branch], unique: true, name: INDEX
end
end
+ # rubocop:enable Migration/PreventStrings
end