Just use drop table
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user