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

Version Path
udongo-7.9.0 db/migrate/20180427144338_add_missing_seo_fields_to_tags.rb
udongo-7.8.1 db/migrate/20180427144338_add_missing_seo_fields_to_tags.rb
udongo-7.8.0 db/migrate/20180427144338_add_missing_seo_fields_to_tags.rb
udongo-7.7.2 db/migrate/20180427144338_add_missing_seo_fields_to_tags.rb
udongo-7.7.1 db/migrate/20180427144338_add_missing_seo_fields_to_tags.rb
udongo-7.7.0 db/migrate/20180427144338_add_missing_seo_fields_to_tags.rb
udongo-7.6.2 db/migrate/20180427144338_add_missing_seo_fields_to_tags.rb
udongo-7.6.1 db/migrate/20180427144338_add_missing_seo_fields_to_tags.rb
udongo-7.6.0 db/migrate/20180427144338_add_missing_seo_fields_to_tags.rb
udongo-7.5.1 db/migrate/20180427144338_add_missing_seo_fields_to_tags.rb
udongo-7.5.0 db/migrate/20180427144338_add_missing_seo_fields_to_tags.rb
udongo-7.4.2 db/migrate/20180427144338_add_missing_seo_fields_to_tags.rb
udongo-7.4.1 db/migrate/20180427144338_add_missing_seo_fields_to_tags.rb