2018-11-13 07:27:31 +00:00
|
|
|
class ChangeDefaultValueForPagesHttpsOnly < ActiveRecord::Migration[4.2]
|
2018-01-03 08:07:03 +00:00
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
def up
|
|
|
|
change_column_default :projects, :pages_https_only, true
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
change_column_default :projects, :pages_https_only, nil
|
|
|
|
end
|
|
|
|
end
|