2018-11-13 02:27:31 -05:00
|
|
|
class DefaultRequestAccessProjects < ActiveRecord::Migration[4.2]
|
2016-10-20 04:20:12 -04:00
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
DOWNTIME = false
|
2017-08-15 13:44:37 -04:00
|
|
|
|
2016-10-20 04:20:12 -04:00
|
|
|
def up
|
|
|
|
change_column_default :projects, :request_access_enabled, false
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
change_column_default :projects, :request_access_enabled, true
|
|
|
|
end
|
|
|
|
end
|