blob: 4a0255aad060ae60400d46dd32ede9e7ef03c89d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
class AddUserPreferenceToTurnOffAutomaticLists < Gitlab::Database::Migration[2.0]
enable_lock_retries!
def up
add_column :user_preferences, :markdown_automatic_lists, :boolean, default: true, null: false
end
def down
remove_column :user_preferences, :markdown_automatic_lists, :boolean
end
end
|