Class: EnableExtensions

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/post_json/install/templates/enable_extensions.rb

Instance Method Summary collapse

Instance Method Details

#changeObject


2
3
4
5
6
# File 'lib/generators/post_json/install/templates/enable_extensions.rb', line 2

def change
  enable_extension 'uuid-ossp'  # generate universally unique identifiers (UUIDs)
  enable_extension 'hstore'     # data type for storing sets of (key, value) pairs
  enable_extension 'plv8'       # PL/JavaScript (v8) trusted procedural language
end