blob: c242e1b0d24c102defbe479c5eb23d7a5996ba75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
class ChangeDefaultValueForPagesHttpsOnly < ActiveRecord::Migration
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
|