blob: 5022ae843e773e902310aaf4ceb88b1d049b91f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
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
end
end
|