Last active
May 6, 2016 18:53
-
-
Save benoror/581ca4b5fcad69ff170946f1f508a7ef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class InstallFuzzystrmatchContribPackage < ActiveRecord::Migration | |
def up | |
execute "CREATE EXTENSION fuzzystrmatch;" | |
end | |
def down | |
execute "DROP EXTENSION fuzzystrmatch;" | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class InstallPgTrgmContribPackage < ActiveRecord::Migration | |
def up | |
execute "CREATE EXTENSION pg_trgm;" | |
end | |
def down | |
execute "DROP EXTENSION pg_trgm;" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment