Sha256: bafaa21a02921c80fdcc44ddadd7f7eacd001fd0899f30224d8ced729d7349c9

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

class TranslatingLeafWithDraftToNoCmsMenusMenuItem < ActiveRecord::Migration
  def change
    add_column :no_cms_menus_menu_item_translations, :leaf_with_draft, :boolean, default: false, index: true
    add_index :no_cms_menus_menu_item_translations, :leaf_with_draft
    remove_column :no_cms_menus_menu_items, :leaf_with_draft, :boolean, default: false, index: true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nocms-menus-1.0.0 db/migrate/20140701131853_translating_leaf_with_draft_to_no_cms_menus_menu_item.rb