2018-12-23 12:14:25 +05:30
|
|
|
class ChangeDefaultValueForPagesHttpsOnly < ActiveRecord::Migration[4.2]
|
2018-05-09 12:01:36 +05:30
|
|
|
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
|