diff options
author | Nick Thomas <nick@gitlab.com> | 2016-11-04 12:55:15 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2016-11-07 10:57:08 +0000 |
commit | 630eb119cb99eb971a9e29d83293774b5b882490 (patch) | |
tree | 1e1d20cbebe2cd33e922b73ab5e7c239a808eb1d /db/migrate | |
parent | 5ef2bd192aa9b3ecbfc23e83c6984e2a818fb736 (diff) | |
download | gitlab-ce-630eb119cb99eb971a9e29d83293774b5b882490.tar.gz |
Renaming columns requires downtime
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20161103171205_rename_repository_storage_column.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20161103171205_rename_repository_storage_column.rb b/db/migrate/20161103171205_rename_repository_storage_column.rb index e9f992793b4..93280573939 100644 --- a/db/migrate/20161103171205_rename_repository_storage_column.rb +++ b/db/migrate/20161103171205_rename_repository_storage_column.rb @@ -5,12 +5,12 @@ class RenameRepositoryStorageColumn < ActiveRecord::Migration include Gitlab::Database::MigrationHelpers # Set this constant to true if this migration requires downtime. - DOWNTIME = false + DOWNTIME = true # When a migration requires downtime you **must** uncomment the following # constant and define a short and easy to understand explanation as to why the # migration requires downtime. - # DOWNTIME_REASON = '' + DOWNTIME_REASON = 'Renaming the application_settings.repository_storage column' # When using the methods "add_concurrent_index" or "add_column_with_default" # you must disable the use of transactions as these methods can not run in an |