summaryrefslogtreecommitdiff
path: root/db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb')
-rw-r--r--db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb b/db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb
new file mode 100644
index 00000000000..38fee17f904
--- /dev/null
+++ b/db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb
@@ -0,0 +1,11 @@
+class AddRunUntaggedToCiRunner < ActiveRecord::Migration
+ ##
+ # Downtime expected!
+ #
+ # This migration will cause downtime due to exclusive lock
+ # caused by the default value.
+ #
+ def change
+ add_column :ci_runners, :run_untagged, :boolean, default: true
+ end
+end