Sha256: 5d83cdbc41081079a59bff3a12c89aa70f9f176738879ffad4fe6a474794a0dc

Contents?: true

Size: 298 Bytes

Versions: 2

Compression:

Stored size: 298 Bytes

Contents

class CleanupPages < ActiveRecord::Migration[5.0]
  def change
    remove_column :cavy_pages, :description
    remove_column :cavy_pages, :tags
    remove_column :cavy_pages, :content
    add_column :cavy_pages, :seo_description, :hstore
    add_column :cavy_pages, :seo_keywords, :jsonb
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cavy-0.1.0.beta2 db/migrate/20170309163124_cleanup_pages.rb
cavy-0.1.0.beta1 db/migrate/20170309163124_cleanup_pages.rb