Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/ci/migrate/20150111062026_add_filter_to_jobs.rb')
-rw-r--r--db/ci/migrate/20150111062026_add_filter_to_jobs.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/ci/migrate/20150111062026_add_filter_to_jobs.rb b/db/ci/migrate/20150111062026_add_filter_to_jobs.rb
new file mode 100644
index 00000000000..90e422deced
--- /dev/null
+++ b/db/ci/migrate/20150111062026_add_filter_to_jobs.rb
@@ -0,0 +1,6 @@
+class AddFilterToJobs < ActiveRecord::Migration
+ def change
+ add_column :jobs, :build_branches, :boolean, default: true, null: false
+ add_column :jobs, :build_tags, :boolean, default: false, null: false
+ end
+end