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/20200123091622_drop_analytics_repository_files_table.rb')
-rw-r--r--db/migrate/20200123091622_drop_analytics_repository_files_table.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/db/migrate/20200123091622_drop_analytics_repository_files_table.rb b/db/migrate/20200123091622_drop_analytics_repository_files_table.rb
deleted file mode 100644
index ed6746165a8..00000000000
--- a/db/migrate/20200123091622_drop_analytics_repository_files_table.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class DropAnalyticsRepositoryFilesTable < ActiveRecord::Migration[5.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- def up
- # Requires ExclusiveLock on the table. Not in use, no records, no FKs.
- # rubocop:disable Migration/DropTable
- drop_table :analytics_repository_files
- # rubocop:enable Migration/DropTable
- end
-
- def down
- create_table :analytics_repository_files do |t|
- t.bigint :project_id, null: false
- t.string :file_path, limit: 4096, null: false
- end
-
- add_index :analytics_repository_files, [:project_id, :file_path], unique: true
- end
-end