diff options
author | Robert Speicher <rspeicher@gmail.com> | 2019-04-02 12:56:40 +0000 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2019-04-02 12:56:40 +0000 |
commit | 4b9dbec33ce446362d617f481b35628890763bd7 (patch) | |
tree | 9dceae8f3b1a4526c5a20ad23fa0df1874cab90c /db | |
parent | 784b1756020ba564b45cb539a538f79c138f92dd (diff) | |
parent | 69b65a6b745e74bba290787420a0017395fd7c25 (diff) | |
download | gitlab-ce-4b9dbec33ce446362d617f481b35628890763bd7.tar.gz |
Merge branch 'jarv/dev-to-gitlab-2019-04-02' into 'master'
Jarv/dev to gitlab 2019 04 02
Closes #2810
See merge request gitlab-org/gitlab-ce!26846
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20190312071108_add_detected_repository_languages_to_projects.rb | 12 | ||||
-rw-r--r-- | db/schema.rb | 1 |
2 files changed, 13 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 diff --git a/db/schema.rb b/db/schema.rb index 1ca7be9c2af..b20fe4b3d39 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1753,6 +1753,7 @@ ActiveRecord::Schema.define(version: 20190325165127) do t.bigint "pool_repository_id" t.string "runners_token_encrypted" t.string "bfg_object_map" + t.boolean "detected_repository_languages" t.index ["ci_id"], name: "index_projects_on_ci_id", using: :btree t.index ["created_at"], name: "index_projects_on_created_at", using: :btree t.index ["creator_id"], name: "index_projects_on_creator_id", using: :btree |