Sha256: 3a8348024ae6fd360436f37c0608a442386640c4bf7bb89b4c945ca17a1db65f
Contents?: true
Size: 481 Bytes
Versions: 5
Compression:
Stored size: 481 Bytes
Contents
class AddPgSearchDmetaphoneSupportFunctions < ActiveRecord::Migration<%= migration_version %> def up say_with_time("Adding support functions for pg_search :dmetaphone") do execute <<~'SQL'.squish <%= indent(read_sql_file("dmetaphone"), 8) %> SQL end end def down say_with_time("Dropping support functions for pg_search :dmetaphone") do execute <<~'SQL'.squish <%= indent(read_sql_file("uninstall_dmetaphone"), 8) %> SQL end end end
Version data entries
5 entries across 5 versions & 1 rubygems