Sha256: cf561f9e4ea907daf3e14e0659ce18abbce43142f907da4b105c3c8fddaa393e
Contents?: true
Size: 384 Bytes
Versions: 13
Compression:
Stored size: 384 Bytes
Contents
class AddMissingSeoFieldsToTags < ActiveRecord::Migration[5.0] def change rename_column :tags, :slug, :seo_slug add_column :tags, :seo_title, :text, after: :seo_slug add_column :tags, :seo_description, :text, after: :seo_title add_column :tags, :seo_keywords, :string, after: :seo_description add_column :tags, :seo_custom, :text, after: :seo_keywords end end
Version data entries
13 entries across 13 versions & 1 rubygems