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.19 lib/rocket_cms/migration.rb
rocket_cms-0.5.18 lib/rocket_cms/migration.rb
rocket_cms-0.5.17 lib/rocket_cms/migration.rb
rocket_cms-0.5.16 lib/rocket_cms/migration.rb
rocket_cms-0.5.15 lib/rocket_cms/migration.rb
rocket_cms-0.5.14 lib/rocket_cms/migration.rb
rocket_cms-0.5.12 lib/rocket_cms/migration.rb
rocket_cms-0.5.11 lib/rocket_cms/migration.rb
rocket_cms-0.5.10 lib/rocket_cms/migration.rb
rocket_cms-0.5.9 lib/rocket_cms/migration.rb
rocket_cms-0.5.8 lib/rocket_cms/migration.rb
rocket_cms-0.5.7 lib/rocket_cms/migration.rb
rocket_cms-0.5.6 lib/rocket_cms/migration.rb
rocket_cms-0.5.5 lib/rocket_cms/migration.rb
rocket_cms-0.5.4 lib/rocket_cms/migration.rb
rocket_cms-0.5.3 lib/rocket_cms/migration.rb
rocket_cms-0.5.2 lib/rocket_cms/migration.rb
rocket_cms-0.5.1 lib/rocket_cms/migration.rb
rocket_cms-0.5.0 lib/rocket_cms/migration.rb
rocket_cms-0.5.0.rc.5 lib/rocket_cms/migration.rb