Sha256: fd5bfbb92f96b9926a57b6ad42cf80319858cb3f64eabf6f162ee15f2a7d3fa0

Contents?: true

Size: 431 Bytes

Versions: 21

Compression:

Stored size: 431 Bytes

Contents

module RocketCMS
  module Migration
    extend self

    def seo_fields(t)
      t.string :name, null: false
      t.string :h1
      t.string :title
      t.string :keywords
      t.text :description
      t.string :robots
      t.string :og_title
      t.attachment :og_image

      #if RocketCMS.localize
        #t.column :name_translations, 'hstore'
        #t.column :name_translations, 'hstore'
      #end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rocket_cms-0.5.0.rc.4 lib/rocket_cms/migration.rb