diff options
author | Rémy Coutable <remy@rymai.me> | 2017-07-06 18:57:02 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-07-06 18:57:02 +0200 |
commit | 040eeb1039b4298ea56a670a0a4ae511288806d6 (patch) | |
tree | 6777d4d6c4fb1322f0d6ef7c4d2a59195aef3255 /db/migrate | |
parent | de9eca0af65e8fd235aed8c9ea598f16562956e7 (diff) | |
download | gitlab-ce-040eeb1039b4298ea56a670a0a4ae511288806d6.tar.gz |
Allow to enable the Performance Bar for a group from the admin area
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20170706151212_add_performance_bar_allowed_group_id_to_application_settings.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20170706151212_add_performance_bar_allowed_group_id_to_application_settings.rb b/db/migrate/20170706151212_add_performance_bar_allowed_group_id_to_application_settings.rb new file mode 100644 index 00000000000..fe9970ddc71 --- /dev/null +++ b/db/migrate/20170706151212_add_performance_bar_allowed_group_id_to_application_settings.rb @@ -0,0 +1,9 @@ +class AddPerformanceBarAllowedGroupIdToApplicationSettings < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + add_column :application_settings, :performance_bar_allowed_group_id, :integer + end +end |