Sha256: ba598a023a6f49e10c80a446b4e19621c8b2f4601cf390ed808d7328f091a521
Contents?: true
Size: 350 Bytes
Versions: 58
Compression:
Stored size: 350 Bytes
Contents
class AddDisplayToSpotlightMainNavigations < ActiveRecord::Migration def up add_column :spotlight_main_navigations, :display, :boolean, default: true Spotlight::MainNavigation.reset_column_information Spotlight::MainNavigation.update_all display: true end def down remove_column :spotlight_main_navigations, :display end end
Version data entries
58 entries across 58 versions & 1 rubygems