discourse/db/migrate/20140711105420_add_fuzzy_str_match_extension.rb

10 lines
207 B
Ruby
Raw Normal View History

class AddFuzzyStrMatchExtension < ActiveRecord::Migration
def self.up
execute "CREATE EXTENSION IF NOT EXISTS fuzzystrmatch"
end
def self.down
execute "DROP EXTENSION fuzzystrmatch"
end
end