diff options
author | Andre Guedes <andrebsguedes@gmail.com> | 2017-02-22 11:19:23 -0300 |
---|---|---|
committer | Andre Guedes <andrebsguedes@gmail.com> | 2017-02-23 01:56:30 -0300 |
commit | db5b4b8b1a9b8aa07c8310dde53b7c3ed391bafd (patch) | |
tree | 99448c42fa45e9bc11ec0a218bcf07abff1abfce /db/migrate | |
parent | 8294756fc110fdb84036e4ae097940410a8ad6de (diff) | |
download | gitlab-ce-db5b4b8b1a9b8aa07c8310dde53b7c3ed391bafd.tar.gz |
Creates specs for destroy service and improves namespace container image query performance
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20161031013926_create_container_image.rb | 16 | ||||
-rw-r--r-- | db/migrate/20161213212947_add_container_registry_access_token_to_application_settings.rb | 16 |
2 files changed, 0 insertions, 32 deletions
diff --git a/db/migrate/20161031013926_create_container_image.rb b/db/migrate/20161031013926_create_container_image.rb index 85c0913b8f3..884c78880eb 100644 --- a/db/migrate/20161031013926_create_container_image.rb +++ b/db/migrate/20161031013926_create_container_image.rb @@ -7,22 +7,6 @@ class CreateContainerImage < ActiveRecord::Migration # Set this constant to true if this migration requires downtime. DOWNTIME = false - # 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 = '' - - # 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 - # existing transaction. When using "add_concurrent_index" make sure that this - # method is the _only_ method called in the migration, any other changes - # should go in a separate migration. This ensures that upon failure _only_ the - # index creation fails and can be retried or reverted easily. - # - # To disable transactions uncomment the following line and remove these - # comments: - # disable_ddl_transaction! - def change create_table :container_images do |t| t.integer :project_id diff --git a/db/migrate/20161213212947_add_container_registry_access_token_to_application_settings.rb b/db/migrate/20161213212947_add_container_registry_access_token_to_application_settings.rb index f89f9b00a5f..23d87cc6d0a 100644 --- a/db/migrate/20161213212947_add_container_registry_access_token_to_application_settings.rb +++ b/db/migrate/20161213212947_add_container_registry_access_token_to_application_settings.rb @@ -7,22 +7,6 @@ class AddContainerRegistryAccessTokenToApplicationSettings < ActiveRecord::Migra # Set this constant to true if this migration requires downtime. DOWNTIME = false - # 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 = '' - - # 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 - # existing transaction. When using "add_concurrent_index" make sure that this - # method is the _only_ method called in the migration, any other changes - # should go in a separate migration. This ensures that upon failure _only_ the - # index creation fails and can be retried or reverted easily. - # - # To disable transactions uncomment the following line and remove these - # comments: - # disable_ddl_transaction! - def change add_column :application_settings, :container_registry_access_token, :string end |