summaryrefslogtreecommitdiff
path: root/db/migrate/20171122131600_add_new_project_guidelines_to_appearances.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20171122131600_add_new_project_guidelines_to_appearances.rb')
-rw-r--r--db/migrate/20171122131600_add_new_project_guidelines_to_appearances.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20171122131600_add_new_project_guidelines_to_appearances.rb b/db/migrate/20171122131600_add_new_project_guidelines_to_appearances.rb
deleted file mode 100644
index cbcbb5d988a..00000000000
--- a/db/migrate/20171122131600_add_new_project_guidelines_to_appearances.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-class AddNewProjectGuidelinesToAppearances < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- def change
- # Clears the current Appearance cache otherwise it breaks since
- # new_project_guidelines_html would be missing. See
- # https://gitlab.com/gitlab-org/gitlab-ce/issues/41041
- # We're not using Appearance#flush_redis_cache on purpose here.
- Rails.cache.delete('current_appearance')
-
- change_table :appearances do |t|
- t.text :new_project_guidelines
- t.text :new_project_guidelines_html
- end
- end
-end