summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorJohn Jarvis <jarv@gitlab.com>2019-04-02 10:12:32 +0200
committerJohn Jarvis <jarv@gitlab.com>2019-04-02 10:12:32 +0200
commit69b65a6b745e74bba290787420a0017395fd7c25 (patch)
treec328963cbe5b340c58c88230d21f338c77462ebd /db/migrate
parent1b6fe3ae226e4c6f481c90c886e242fcd96ab11b (diff)
parent3e81a5baf25d6ecd9ad807a2b8f4238dcc598d5e (diff)
downloadgitlab-ce-69b65a6b745e74bba290787420a0017395fd7c25.tar.gz
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into jarv/dev-to-gitlab-2019-04-02jarv/dev-to-gitlab-2019-04-02
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20190312071108_add_detected_repository_languages_to_projects.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20190312071108_add_detected_repository_languages_to_projects.rb b/db/migrate/20190312071108_add_detected_repository_languages_to_projects.rb
new file mode 100644
index 00000000000..5ce0ca19888
--- /dev/null
+++ b/db/migrate/20190312071108_add_detected_repository_languages_to_projects.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+# See http://doc.gitlab.com/ce/development/migration_style_guide.html
+# for more information on how to write migrations for GitLab.
+
+class AddDetectedRepositoryLanguagesToProjects < ActiveRecord::Migration[5.0]
+ DOWNTIME = false
+
+ def change
+ add_column :projects, :detected_repository_languages, :boolean
+ end
+end