summaryrefslogtreecommitdiff
path: root/db/migrate/20190924124627_add_pull_mirror_branch_prefix_to_projects.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190924124627_add_pull_mirror_branch_prefix_to_projects.rb')
-rw-r--r--db/migrate/20190924124627_add_pull_mirror_branch_prefix_to_projects.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/db/migrate/20190924124627_add_pull_mirror_branch_prefix_to_projects.rb b/db/migrate/20190924124627_add_pull_mirror_branch_prefix_to_projects.rb
index f1af925c421..2750468834f 100644
--- a/db/migrate/20190924124627_add_pull_mirror_branch_prefix_to_projects.rb
+++ b/db/migrate/20190924124627_add_pull_mirror_branch_prefix_to_projects.rb
@@ -3,7 +3,11 @@
class AddPullMirrorBranchPrefixToProjects < ActiveRecord::Migration[5.2]
DOWNTIME = false
+ # rubocop:disable Migration/AddColumnsToWideTables
+ # rubocop:disable Migration/PreventStrings
def change
- add_column :projects, :pull_mirror_branch_prefix, :string, limit: 50 # rubocop:disable Migration/AddColumnsToWideTables
+ add_column :projects, :pull_mirror_branch_prefix, :string, limit: 50
end
+ # rubocop:enable Migration/PreventStrings
+ # rubocop:enable Migration/AddColumnsToWideTables
end