So far the method does not take questions nor answers into account. This way we'll be able to search polls in the SDG Management section.
6 lines
113 B
Ruby
6 lines
113 B
Ruby
class AddTsvToPolls < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_column :polls, :tsv, :tsvector
|
|
end
|
|
end
|