Sha256: 07d7451f5e1f9f4d43d65364d5ed7ade214e15755439a276d4f395b9a43a8510

Contents?: true

Size: 280 Bytes

Versions: 6

Compression:

Stored size: 280 Bytes

Contents

class AddTranslationTableToLibraryGroup < ActiveRecord::Migration[4.2]
  def up
    LibraryGroup.create_translation_table!({
      login_banner: :text
    }, {
      migrate_data: true
    })
  end

  def down
    LibraryGroup.drop_translation_table! migrate_data: true
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
enju_subject-0.3.1 spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
enju_oai-0.3.0 spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
enju_subject-0.3.0 spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
enju_subject-0.3.0.rc.1 spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
enju_oai-0.3.0.beta.1 spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
enju_subject-0.3.0.beta.1 spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb