Sha256: fb65b5117bebe769eae9d9e60cfa43f986183d4a9f8eb88f4e0d9aaf0e9b9ccd

Contents?: true

Size: 158 Bytes

Versions: 18

Compression:

Stored size: 158 Bytes

Contents

class AddPropertiesToPosts < ActiveRecord::Migration
  def change
    execute 'CREATE EXTENSION hstore'
    add_column :posts, :properties, :hstore
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ecrire-0.28.3 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.28.2 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.28.1 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.28.0 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.27.0 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.26.3 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.26.2 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.26.1 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.26.0 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.25.2 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.25.1 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.25.0 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.24.1 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.24.0 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.23.0 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.22.1 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.21.0 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb
ecrire-0.20.0 lib/ecrire/db/migrate/20140618321984_add_properties_to_posts.rb