summaryrefslogtreecommitdiff
path: root/db/migrate/20190820163320_add_first_last_name_to_user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190820163320_add_first_last_name_to_user.rb')
-rw-r--r--db/migrate/20190820163320_add_first_last_name_to_user.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20190820163320_add_first_last_name_to_user.rb b/db/migrate/20190820163320_add_first_last_name_to_user.rb
index 62bd1443b9d..908f55fa821 100644
--- a/db/migrate/20190820163320_add_first_last_name_to_user.rb
+++ b/db/migrate/20190820163320_add_first_last_name_to_user.rb
@@ -8,9 +8,11 @@ class AddFirstLastNameToUser < ActiveRecord::Migration[5.2]
DOWNTIME = false
# rubocop:disable Migration/AddColumnsToWideTables
+ # rubocop:disable Migration/PreventStrings
def change
add_column(:users, :first_name, :string, null: true, limit: 255)
add_column(:users, :last_name, :string, null: true, limit: 255)
end
+ # rubocop:enable Migration/PreventStrings
# rubocop:enable Migration/AddColumnsToWideTables
end