diff options
Diffstat (limited to 'db/migrate/20190808152507_add_projects_sorting_field_to_user_preferences.rb')
-rw-r--r-- | db/migrate/20190808152507_add_projects_sorting_field_to_user_preferences.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20190808152507_add_projects_sorting_field_to_user_preferences.rb b/db/migrate/20190808152507_add_projects_sorting_field_to_user_preferences.rb index 941fead655e..5022ae843e7 100644 --- a/db/migrate/20190808152507_add_projects_sorting_field_to_user_preferences.rb +++ b/db/migrate/20190808152507_add_projects_sorting_field_to_user_preferences.rb @@ -3,9 +3,11 @@ class AddProjectsSortingFieldToUserPreferences < ActiveRecord::Migration[5.2] DOWNTIME = false + # rubocop:disable Migration/PreventStrings def up add_column :user_preferences, :projects_sort, :string, limit: 64 end + # rubocop:enable Migration/PreventStrings def down remove_column :user_preferences, :projects_sort |