BigW Consortium Gitlab

Commit 894d22f4 by Lin Jen-Shin

include the helper

parent 2ea0148c
class AddLockedToCiRunner < ActiveRecord::Migration class AddLockedToCiRunner < ActiveRecord::Migration
## include Gitlab::Database::MigrationHelpers
# Downtime expected due to exclusive lock when setting default value. disable_ddl_transaction!
#
def up def up
add_column_with_default(:ci_runners, :locked, :boolean, add_column_with_default(:ci_runners, :locked, :boolean,
default: false, allow_null: false) default: false, allow_null: false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment