Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20191218124915_add_repository_storage_to_snippets.rb')
-rw-r--r--db/migrate/20191218124915_add_repository_storage_to_snippets.rb26
1 files changed, 0 insertions, 26 deletions
diff --git a/db/migrate/20191218124915_add_repository_storage_to_snippets.rb b/db/migrate/20191218124915_add_repository_storage_to_snippets.rb
deleted file mode 100644
index e2ba11aef20..00000000000
--- a/db/migrate/20191218124915_add_repository_storage_to_snippets.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: true
-
-class AddRepositoryStorageToSnippets < ActiveRecord::Migration[5.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- # rubocop:disable Migration/PreventStrings
- def up
- add_column_with_default( # rubocop:disable Migration/AddColumnWithDefault
- :snippets,
- :repository_storage,
- :string,
- default: 'default',
- limit: 255,
- allow_null: false
- )
- end
- # rubocop:enable Migration/PreventStrings
-
- def down
- remove_column(:snippets, :repository_storage)
- end
-end