Sha256: 6b10e770aefd991b95e556f8790fc59a3ffef949f1c9e379705588811f82a2b2

Contents?: true

Size: 189 Bytes

Versions: 25

Compression:

Stored size: 189 Bytes

Contents

class SetupHstore < ActiveRecord::Migration
  def self.up
    execute "CREATE EXTENSION IF NOT EXISTS hstore"
  end

  def self.down
    execute "DROP EXTENSION IF EXISTS hstore"
  end
end

Version data entries

25 entries across 25 versions & 3 rubygems

Version Path
task-manager-0.1.3 db/migrate/20121102054723_setup_hstore.rb
task-manager-0.1.2 db/migrate/20121102054723_setup_hstore.rb
task-manager-0.1.1 db/migrate/20121102054723_setup_hstore.rb
activerecord-postgres-hstore-0.4.1 lib/templates/setup_hstore91.rb
activerecord-postgres-hstore-0.4.0 lib/templates/setup_hstore91.rb