mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
fix migration
This commit is contained in:
1 parent
efc8ba6b0a
commit
263c0ff939
1 file changed
+2
@@ -2,6 +2,8 @@
|
||||
|
||||
class AddNgramToSearchIndex < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
return unless adapter_name == 'PostgreSQL'
|
||||
|
||||
add_column :search_entries, :ngram, :tsvector
|
||||
|
||||
add_index :search_entries, %i[account_id ngram], using: :gin, where: "record_type = 'Submitter'",
|
||||
|
||||
Reference in new issue
Block a user