Skip to content

Enable pg_tgm extension #541

@Isaac-alencar

Description

@Isaac-alencar

hi,

I have a question related to this wiki topic

context:
After follow the steps I managed to install the extension, but it does not automatically updated the schema file appending the enable_extension "pg_trgm" so I had to create a separated migration to achieve this:

class EnablePgTrigramExtension < ActiveRecord::Migration[7.2]
  def change
     enable_extension "pg_trgm"
  end
end

my question:
is that something specific that I had to do ? or we really need to do that? if so, I think we should complement our wiki page

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions