diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-11-05 15:32:14 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-11-05 15:32:14 +0000 |
commit | 487820ad50be2877135d18380baa87a2de762d45 (patch) | |
tree | 9d050b7f71f07f3e0869edd316c3793578dea770 /db/migrate | |
parent | c12a4a9ac7c04a215adf6062fec7bf31231c7d4a (diff) | |
parent | 40397f35771a37a772f86e00d7dc708ddc6d3544 (diff) | |
download | gitlab-ce-487820ad50be2877135d18380baa87a2de762d45.tar.gz |
Merge branch 'disallow-retry-of-old-builds' into 'master'
Disallow retry of old builds
Closes #50939
See merge request gitlab-org/gitlab-ce!22538
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20181023104858_add_archive_builds_duration_to_application_settings.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20181023104858_add_archive_builds_duration_to_application_settings.rb b/db/migrate/20181023104858_add_archive_builds_duration_to_application_settings.rb new file mode 100644 index 00000000000..744748b3fad --- /dev/null +++ b/db/migrate/20181023104858_add_archive_builds_duration_to_application_settings.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +class AddArchiveBuildsDurationToApplicationSettings < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + add_column(:application_settings, :archive_builds_in_seconds, :integer, allow_null: true) + end +end |