Skip to content
Snippets Groups Projects
Commit 894d22f4 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

include the helper

parent 2ea0148c
No related branches found
No related tags found
2 merge requests!4734!4093 is giving me 502,!4093Make it possible to lock runner on a specific project
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)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment