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
activerecord-postgres-hstore-0.7.8 lib/templates/setup_hstore91.rb
active_road-0.0.3 db/migrate/20130507162801_setup_hstore.rb
activerecord-postgres-hstore-0.7.7 lib/templates/setup_hstore91.rb
active_road-0.0.2 db/migrate/20130507162801_setup_hstore.rb
task-manager-0.1.7 db/migrate/20121102054723_setup_hstore.rb
activerecord-postgres-hstore-0.7.6 lib/templates/setup_hstore91.rb
activerecord-postgres-hstore-0.7.5 lib/templates/setup_hstore91.rb
activerecord-postgres-hstore-0.7.4 lib/templates/setup_hstore91.rb
activerecord-postgres-hstore-0.7.3 lib/templates/setup_hstore91.rb
activerecord-postgres-hstore-0.7.2 lib/templates/setup_hstore91.rb
activerecord-postgres-hstore-0.7.1 lib/templates/setup_hstore91.rb
activerecord-postgres-hstore-0.7.0 lib/templates/setup_hstore91.rb
activerecord-postgres-hstore-0.6.0 lib/templates/setup_hstore91.rb
activerecord-postgres-hstore-0.5.3 lib/templates/setup_hstore91.rb
task-manager-0.1.6 db/migrate/20121102054723_setup_hstore.rb
activerecord-postgres-hstore-0.5.2 lib/templates/setup_hstore91.rb
activerecord-postgres-hstore-0.5.1 lib/templates/setup_hstore91.rb
activerecord-postgres-hstore-0.5.0 lib/templates/setup_hstore91.rb
task-manager-0.1.5 db/migrate/20121102054723_setup_hstore.rb
task-manager-0.1.4 db/migrate/20121102054723_setup_hstore.rb