Just use drop table

This commit is contained in:
Jorge Manrubia
2025-06-25 11:42:02 +02:00
parent bc81d2d22c
commit 590d40c0e6
@@ -1,6 +1,6 @@
class AddDescriptionToCardsSearchIndex < ActiveRecord::Migration[8.1]
def change
drop_virtual_table :cards_search_index, "fts5", [ "title" ]
drop_table :cards_search_index
create_virtual_table :cards_search_index, "fts5", [ "title", "description" ]
end
end