blob: d9ae86f6c52d66c59920bfc643cba8f5e7fe5b85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class AddTrustedColumnToOauthApplications < ActiveRecord::Migration[4.2]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def up
add_column_with_default(:oauth_applications, :trusted, :boolean, default: false)
end
def down
remove_column(:oauth_applications, :trusted)
end
end
|