discourse/db/migrate/20130315180637_enable_trigram_support.rb
Robin Ward ad082cea70 Big commit:
- Support for a popup that shows similar topics
- Cleaned up a lot of Javascript
- Cleaned up use of Promises
2013-03-15 14:35:33 -04:00

9 lines
180 B
Ruby

class EnableTrigramSupport < ActiveRecord::Migration
def up
execute "CREATE EXTENSION IF NOT EXISTS pg_trgm"
end
def down
execute "DROP EXTENSION pg_trgm"
end
end