summaryrefslogtreecommitdiff
path: root/db/migrate/20200401211005_create_operations_user_lists.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20200401211005_create_operations_user_lists.rb')
-rw-r--r--db/migrate/20200401211005_create_operations_user_lists.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20200401211005_create_operations_user_lists.rb b/db/migrate/20200401211005_create_operations_user_lists.rb
index c5b928b8350..b0b02ca8886 100644
--- a/db/migrate/20200401211005_create_operations_user_lists.rb
+++ b/db/migrate/20200401211005_create_operations_user_lists.rb
@@ -8,8 +8,8 @@ class CreateOperationsUserLists < ActiveRecord::Migration[6.0]
t.references :project, index: false, foreign_key: { on_delete: :cascade }, null: false
t.timestamps_with_timezone
t.integer :iid, null: false
- t.string :name, null: false, limit: 255
- t.text :user_xids, null: false, default: ''
+ t.string :name, null: false, limit: 255 # rubocop:disable Migration/PreventStrings
+ t.text :user_xids, null: false, default: '' # rubocop:disable Migration/AddLimitToTextColumns
t.index [:project_id, :iid], unique: true
t.index [:project_id, :name], unique: true