db: remove unused tsvector columns.

These columns have been unused since e3b836b50.
This commit is contained in:
evazion
2022-01-06 11:25:51 -06:00
parent 72d5291a27
commit 080dbf5a8c
2 changed files with 12 additions and 49 deletions

View File

@@ -0,0 +1,10 @@
class DropTsvectorColumns < ActiveRecord::Migration[6.1]
def change
remove_column :comments, :body_index, :tsvector
remove_column :dmails, :message_index, :tsvector
remove_column :forum_posts, :text_index, :tsvector
remove_column :forum_topics, :text_index, :tsvector
remove_column :notes, :body_index, :tsvector
remove_column :wiki_pages, :body_index, :tsvector
end
end