Sha256: 037637eeb1c014d60d8440e7b3e64ae9900f6705cae2fe51cc8d565ad19efd2d
Contents?: true
Size: 581 Bytes
Versions: 34
Compression:
Stored size: 581 Bytes
Contents
# This migration comes from enju_library_engine (originally 20151213072705) class AddFooterBannerToLibraryGroup < ActiveRecord::Migration def up if defined?(Globalize) LibraryGroup.add_translation_fields! footer_banner: :text end if defined?(AwesomeHstoreTranslate) add_column :library_groups, :footer_banner, :hstore end end def down if defined?(Globalize) remove_column :library_group_translations, :footer_banner end if defined?(AwesomeHstoreTranslate) remove_column :library_groups, :footer_banner end end end
Version data entries
34 entries across 30 versions & 13 rubygems