Sha256: 2574e2967b2df59bd065d827818de18e8f6d031208c32082c3c017ac6f295590

Contents?: true

Size: 278 Bytes

Versions: 7

Compression:

Stored size: 278 Bytes

Contents

class CreateStaticBlockTranslations < ActiveRecord::Migration
  def up
    StaticBlocks::StaticBlock.create_translation_table!({
      content: :text
    }, {
      migrate_data: true
    })
  end

  def down
    StaticBlock.drop_translation_table! migrate_data: true
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
static_blocks-0.1.1 db/migrate/20130612034816_create_static_block_translations.rb
static_blocks-0.1.0 db/migrate/20130612034816_create_static_block_translations.rb
static_blocks-0.0.5 db/migrate/20130612034816_create_static_block_translations.rb
static_blocks-0.0.4 db/migrate/20130612034816_create_static_block_translations.rb
static_blocks-0.0.3 db/migrate/20130612034816_create_static_block_translations.rb
static_blocks-0.0.2 db/migrate/20130612034816_create_static_block_translations.rb
static_blocks-0.0.1 db/migrate/20130612034816_create_static_block_translations.rb