Created
July 12, 2014 17:07
-
-
Save jasonayre/22cd063349e4811ed1da to your computer and use it in GitHub Desktop.
This file contains 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 EnableExtensions < ActiveRecord::Migration | |
def self.up | |
execute "CREATE EXTENSION \"uuid-ossp\";" | |
end | |
def self.down | |
execute "DROP EXTENSION \"uuid-ossp\";" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment