mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 04:36:11 +10:00
include the helper
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class AddLockedToCiRunner < ActiveRecord::Migration
|
||||
##
|
||||
# Downtime expected due to exclusive lock when setting default value.
|
||||
#
|
||||
include Gitlab::Database::MigrationHelpers
|
||||
disable_ddl_transaction!
|
||||
|
||||
def up
|
||||
add_column_with_default(:ci_runners, :locked, :boolean,
|
||||
default: false, allow_null: false)
|
||||
|
||||
Reference in New Issue
Block a user