Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jasonayre/22cd063349e4811ed1da to your computer and use it in GitHub Desktop.
Save jasonayre/22cd063349e4811ed1da to your computer and use it in GitHub Desktop.
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