diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-02-14 17:54:46 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-02-15 10:31:51 +0300 |
commit | 53c94f9ea25c9d6a25b58a01db5f855f0719dbf4 (patch) | |
tree | 821e1b9aabf4d9602002f551e25c8cc50d252463 /db | |
parent | ac872078486145f43e8a42dbd60ed47be70a301f (diff) |
Use the same syntax for default expiration
Feedback:
* https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23343951
* https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23344036
* https://gitlab.com/gitlab-org/gitlab-ce/issues/27762#note_23344797
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20170214084746_add_default_artifacts_expiration_to_application_settings.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20170214084746_add_default_artifacts_expiration_to_application_settings.rb b/db/migrate/20170214084746_add_default_artifacts_expiration_to_application_settings.rb index 728d581251c..34905570739 100644 --- a/db/migrate/20170214084746_add_default_artifacts_expiration_to_application_settings.rb +++ b/db/migrate/20170214084746_add_default_artifacts_expiration_to_application_settings.rb @@ -5,7 +5,7 @@ class AddDefaultArtifactsExpirationToApplicationSettings < ActiveRecord::Migrati def change add_column :application_settings, - :default_artifacts_expiration, - :integer, default: 0, null: false + :default_artifacts_expire_in, + :string, null: true end end |